Skip to content

Formatted text output

4 messages · Gregory Propf, David Winsemius, Charles C. Berry

#
The innards of an object can be revealed with the str function and the  
coef function should have been a link off the lm page (assuming that  
was the sort of "fit" you were creating.)

For output to files see ?cat
On Mar 1, 2009, at 3:15 PM, Gregory Propf wrote:

            
#
On Sun, 1 Mar 2009, Gregory Propf wrote:

            
Following the __posting guide__ should have gotten you through this. viz.

 	??format ## leads to sprintf
 	?lm      ## See Also coef
 	?coef    ## "Extract Model Coefficients"
 	??file   ## leads to sink
 	?sink    ## "Send R Output to a File"

e.g.
[1] "y = -0.08x+0.50"
Chuck
Charles C. Berry                            (858) 534-2098
                                             Dept of Family/Preventive Medicine
E mailto:cberry at tajo.ucsd.edu	            UC San Diego
http://famprevmed.ucsd.edu/faculty/cberry/  La Jolla, San Diego 92093-0901