Shant Ch wrote: > Warning messages: > 1: In if (freq) x$counts else { : > the condition has length > 1 and only the first element will be used ... > hist(W,breaks=20,probability=T)
A variable called "T" lying around with length(T) != 1 ? Try probability=TRUE instead. -- Peter Dalgaard Center for Statistics, Copenhagen Business School Phone: (+45)38153501 Email: pd....@cbs.dk Priv: pda...@gmail.com ______________________________________________ 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.