[R] R - PLOT - X-AXIS - DECIMALS
sarah.goslee at gmail.com
Wed Nov 19 17:26:32 CET 2014
Since you didn't provide a reproducible example, we have no way of knowing.
But if I were you, I'd start with
because my first guess is that your data import did not work as you expected.
On Wed, Nov 19, 2014 at 10:13 AM, statup r <statup.r at gmail.com> wrote:
> I have a test.csv with two fields "year" and "sale", with below values:
> year sale
> 2001 1002002 200
That looks like three fields to me.
This may be an example of why you SHOULDN'T post to the list in HTML.
> This is what I did in R.
> But when I call the above plot function why I'm getting decimals in x-axis
> (year) ex: 2001.0, 2002.05
> Please help.
> [[alternative HTML version deleted]]
More information about the R-help