[R] print numbers

Wu Gong wg2f at mtmail.mtsu.edu
Mon Aug 16 23:41:51 CEST 2010


Hi John,

formatC will do your work. Hope it helps.

x <- y <- c(50.00,25.00,10.00,1.00,0.05,0.01)
plot(x,y,log = "xy",axes = F)
axis(1, x, formatC(x))
axis(2, y, formatC(y))

Regards,

Wu

-----
A R learner.
-- 
View this message in context: http://r.789695.n4.nabble.com/print-numbers-tp2327378p2327525.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list