Brendan Cusick wrote:
Hello. I have what I'm sure is a very simple question. Hopefully someone can help. I can't seem to find the maximum height of a histogram. In matlab it would be simple to say max(hist(x, 100)), but this doesn't seem to work in R. Any input would be greatly appreciated.
Hi Brendan, Try: max(hist(x,100)$counts,na.rm=TRUE)
Jim ______________________________________________ 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.