Hi Group, I've a vector of 1000 numeric values for which I want to draw a histogram. I've read this vector into R with no variable name.I mean only the 1000 values, which makes V1 the name of the variable by default?? Then I tried
> hist(V1, breaks = "Sturges", + freq = NULL, probability = !freq, + include.lowest = TRUE, right = TRUE, + density = NULL, angle = 45, col = NULL, border = NULL, + main = paste("Histogram of" , V1name), + V1lim = range(breaks), ylim = NULL, + V1lab = V1name, ylab, + axes = TRUE, plot = TRUE, labels = FALSE, + nclass = NULL) It gave me this error: Error in hist(V1, breaks = "Sturges", freq = NULL, probability = !freq, : object "V1" not found I don't get what's wrong,( An R beginner)?? [[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.