[R] Histogram

From: Mag. Ferri Leberl <ferri.leberl_at_gmx.at>
Date: Thu 21 Apr 2005 - 01:37:04 EST

Dear everybody!
I am analysing data from an enquette. The answers are either A or B. How can I draw a histogram without transforming the data from characters to numbers? If the data are saved in a list M, hist(M[,1]) returns:

Error in hist.default(M[, 1]) : `x' must be numeric Execution halted

Thank you in advance!

R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Thu Apr 21 02:30:53 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:31:17 EST