Skip to content
Prev 5646 / 398513 Next

Plotting in R

At 10:03 11/05/00 +0200, you wrote:
Here is my solution (just for the tables):

	x <- log(1:1000)
	for (i in 1:6) print(table(as.integer((x %% (10/10^i))*10^i)))

(I'm surprised it works...)

Emmanuel Paradis
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._