Skip to content
Back to formatted view

Raw Message

Message-ID: <CAMGmzZdm0QGuMhPEa8uLZ1Z9bpsspx=sisQS-Ps8JSVhUjiS6Q@mail.gmail.com>
Date: 2012-08-15T09:16:06Z
From: Zuki
Subject: How to plot data in logarithmic scale

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