Hello

On 10/26/09, [email protected] <[email protected]> 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

______________________________________________
[email protected] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to