[R] Error in hist.default(A) : `x' must be numeric

From: Mag. Ferri Leberl <ferri.leberl_at_gmx.at>
Date: Thu 07 Apr 2005 - 00:57:08 EST


Dear everybody!
I have load a list A of numbers and want a histogram to be drawn. on
hist(Y)
the Machine returns:
Error in hist.default(A) : `x' must be numeric I found out, that the list is of type data.frame. Y<-as.numeric(Y)

returns
Error in as.double.default(A) : (list) object cannot be coerced to double What schould I do?
Than 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 07 01:04:15 2005

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