[R] Histogram

Mag. Ferri Leberl
Wed, 20 Apr 2005 15:37:04 -0000

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!