Hello, > 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! Christoph