[R] how to export density_function output?

Alessandro Bigi abigi at agrsci.unibo.it
Mon Nov 7 15:37:07 CET 2005


Dear all,

quite a naive question: I have a data frame and I computed "the kernel 
density estimate" with density on each column.
Now I'd like to export in a txt file the density function output for each 
column, but, when if I use write.table, I get a message "Error in 
as.data.frame.default(x[[i]], optional = TRUE) : can't coerce class 
"density" into a data.frame"
How should I do?
Thanks,

	Alessandro


-- 







--




More information about the R-help mailing list