I have a test.csv with two fields "year" and "sale", with below values:

year   sale
2001    1002002    200

This is what I did in R.

>aaa<-read.csv("test.csv")

>plot(aaa)


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]]

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to