I'm learning R and I'm trying out the hist()
histogram function. My code is here(and pasted below), and when I run it, the axes A) Do not connect at the origin, and B) they don't extend far enough for the dataset. I've looked and haven't found anything, the properties xlim, ylim, axes=FALSE, none of these solutions work.
bluegill = read.table(file="lab2.csv", header="true", sep=",")
attach(bluegill)
hist(Length, main="", xlab="Length (mm)", ylab="Number of individuals", col="gray")
and then this is the resulting chart, the max length is 220 in the data set, and the x axis only goes to 200.