[R] Plotting in R

Ko-Kang Wang Ko-Kang at xtra.co.nz
Thu May 11 09:21:33 CEST 2000


Here is a question that I don't know if it is possible to do in R:

If I type:
> log(1:1000)

Then, I want to "take out" the first decimal place of each output, plot
them based on their appearence frequencies.  Then take the second
decimal place, do the same thing.

Actually, I suspect I don't have to write a function to do this.  Is it
possible to do this?  Get the first decimal place of each answer to
log(1:1000), then plot them?

Thanks

--
-----------------------------------------------------------------------------------

 Ko-Kang Wang
 Undergraduate Student
 Computer Science/Statistics Double Major
 University of Auckland
 Auckland 1005
 New Zealand
-----------------------------------------------------------------------------------



-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list