Jim, you are a genius. Thanks for the help. Brendan
On Sun, Feb 1, 2009 at 5:44 AM, Jim Lemon <j...@bitwrit.com.au> wrote: > 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 > > [[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.