[R] basic statistics to csv
Liviu Andronic
landronimirc at gmail.com
Mon Oct 26 21:57:22 CET 2009
Hello
On 10/26/09, lanczos at fns.uniba.sk <lanczos at fns.uniba.sk> wrote:
> nsu <- numSummary(x[,c("a", "b", "c")], statistics=c("mean", "sd",
> "quantiles"), quantiles=c(0,.25,.5,.75,1))
>
>
> write.csv(nsu, file = "numsummary.csv")
>
> I get the "ERROR: cannot coerce class "numSummary" into a data.frame"
> message.
>
Try
write.csv(nsu$table, file = "numsummary.csv")
Liviu
More information about the R-help
mailing list