[R] density(x)

Christoph Hanck Christoph.Hanck at WIWI.UNI-MUENSTER.DE
Mon Jul 5 16:57:06 CEST 2004


> OK, so sp is a data frame.  Probably you want density(sp$sp) there since 
> the single column is already numeric.

Yes, that works just the way I hoped. So what I am essentially doing is selecting (just 
to know what I'm doing) the column that contains sp from the data frame sp?

Thank you very much!


More information about the R-help mailing list