[R] Saving summary outputs in a table form

2011-03-16 Thread Haillie
Dear R help, Is there a way to extract a variable ( one column) from my summary statistics to save it in a table form? My post-factor analysis summary statistics gave me the output below. Is there anyway to just save the mean of all the phi? The filename of this summary output is postun2010sum.

Re: [R] Saving summary outputs in a table form

2011-03-16 Thread Ivan Calandra
Hi, You should carefully and thoroughly read the help page for the extraction operators. See ?[ Let's say your output below is in a data.frame called df. You can do something like this: df[, Mean] To select only some specific phi rows, you probably need to set some regular expressions,

Re: [R] Saving summary outputs in a table form

2011-03-16 Thread Haillie
Thank you very much! I will check out help page for extraction operator. Many thanks, Haillie -- View this message in context: http://r.789695.n4.nabble.com/Saving-summary-outputs-in-a-table-form-tp3381959p3383316.html Sent from the R help mailing list archive at Nabble.com.