Re: [R] finding out more about an object, e.g. lm

From: Spencer Graves <spencer.graves_at_pdf.com>
Date: Wed 06 Jul 2005 - 01:58:37 EST

          'methods(class="lm")' will identify all the "methods" (i.e., functions) that have been defined to do something with an object of class "lm".

          'attributes(<and 'lm' object>)' may not be as good as "str" from some perspectives but can be useful from others.

          spencer graves

Barry Rowlingson wrote:

> Sean O'Riordain wrote:
>

>>?lm doesn't
>>give me the information

>
>
> That's because the information has come from 'summary' (specifically
> summary.lm).
>
> ?summary.lm:
>
> r.squared: R^2, the "fraction of variance explained by the model",
>
> - it also lists the other things of interest you can get from an lm
> fitted object.
>
> Baz
>
> ______________________________________________
> R-help@stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
-- 
Spencer Graves, PhD
Senior Development Engineer
PDF Solutions, Inc.
333 West San Carlos Street Suite 700
San Jose, CA 95110, USA

spencer.graves@pdf.com
www.pdf.com <http://www.pdf.com>
Tel:  408-938-4420
Fax: 408-280-7915

______________________________________________
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
Received on Wed Jul 06 02:11:14 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:33:16 EST