[R] density(x)

From: Christoph Hanck <Christoph.Hanck_at_WIWI.UNI-MUENSTER.DE>
Date: Mon 05 Jul 2004 - 23:34:11 EST

Dear experts,

when trying to estimate an kernel density function with density(x) I get the following error message with imported data from either EXCEL or text files:

Error in density(spr) : argument must be numeric.

Other procedues such as truehist work. If I generate data within R density works fine. Does anybody have an idea?


Christoph Hanck
Wissenschaftliche Hilfskraft
Lehrstuhl für Empirische Wirtschaftsforschung, Prof. Dr. Wilfling
WWU Muenster
Tel.: +49-251-83 25043
eMail: 05chha@wiwi.uni-muenster.de

R-help@stat.math.ethz.ch mailing list
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
Received on Mon Jul 05 23:39:41 2004

This archive was generated by hypermail 2.1.8 : Fri 18 Mar 2005 - 09:33:10 EST