drawing histograms with R

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

drawing histograms with R

coder
I want to draw a histogram with the following code:

stat <- read.csv("lung cancer.csv",header=T)
x = (2000:2013)
y = (0:12000)
hist(ylab="Cases",xlab="Year",main="Number of cases of Lung Cancer:2000-2013")


but im getting the error message:

argument "x" is missing, with no default