[R] Unable to create histograms

Radha Chebolu rchebolu at yahoo.com
Thu Feb 17 00:03:38 CET 2005


Hi,
could someone pelase help me with this?

My data set's name is db1(say) and one of the
variables is var1. I gave the command:
hist(db1$var1). The values of Var1 are numbers.
I got an error which says: 'x' must be numeric.
Sometimes it works for other datasets and it's not
working for this dataset. Also, does R let us import
data from an excel spreadhsheet?

Thanks,
Radha




More information about the R-help mailing list