[R] make stat.desc output an object

Berend Hasselman bhh at xs4all.nl
Wed May 29 06:22:02 CEST 2013


On 28-05-2013, at 19:31, bcrombie <bcrombie at utk.edu> wrote:

> How do I assign a variable to R output that is generated by default functions such as:
> stat.desc(mydata, basic=TRUE, desc=TRUE, norm=FALSE, p=0.90)
> summary(mydata)
> Another way to put it:  how can I turn an R function result into an object?
> 

?capture.output

Berend



More information about the R-help mailing list