[R] How to plot data in logarithmic scale

Zuki zuki12 at gmail.com
Wed Aug 15 11:16:06 CEST 2012


Hi everyone,

I am new in R, just used it for 2 weeks and I have a basic question. I
have data, for example table$attrib that I would like to plot its
cumulative distribution in logarithmic scale. How do I do that? After
browsing internet, I tested this command:

> plot.ecdf(1:100, log ="y", table$attrib)

I got a plot, but I am not really sure what 1:100 and log="y"did to
produce the plot. Any help is appreciated.

Thank you,
Zuki



More information about the R-help mailing list