Re: [R] density plots using density.lf, data.frame and sort.int errors

2012-05-31 Thread R. Michael Weylandt
My guess (unconfirmed) is that read.table() gives you a data frame but density.lf expects an atomic (= not a list = not a data frame) vector. Perhaps try density.lf(x[,1]) to just send the column -- the "drop" behavior should make sure this is an atomic vector. If that doesn't help, please do prov

[R] density plots using density.lf, data.frame and sort.int errors

2012-05-31 Thread Andrea S Sequeira
Dear R help group: I am attempting to produce a density plot from a list of 2 values using the density.lf function and would appreciate any help, I hope I have done my homework reading the documentation but I still seem to be missing something basic. I have read the data as a table using read.