Re: [R] basic statistics to csv

2009-10-27 Thread Adaikalavan Ramasamy
It would be useful to have a simplified version of the 'nsu' object. I am guessing it is a list of some sort (e.g. mean is single value, quantiles here returns 5 numbers) and not a matrix or dataframe (i.e. regular array). So you can have several choices here: 1) print nsu to a file. e.g. cat

Re: [R] basic statistics to csv

2009-10-26 Thread Liviu Andronic
Hello On 10/26/09, lanc...@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.

[R] basic statistics to csv

2009-10-26 Thread lanczos
I know that my question is like a very newbie question, but at the moment I stacked with it and I need a quick solution. I need to make an overall statistical overview of various datasets, the summary() and numSummary() functions are fully sufficient. My question is, how can I export results to a s