[R] how to find names referring to "parts" of an R object. particlualry w.r.t capscale

Uwe Ligges ligges at statistik.tu-dortmund.de
Sun Nov 14 15:27:02 CET 2010


Use str(object) in order to inspect what elements object consists of.

Uwe Ligges


On 14.11.2010 12:28, Nevil Amos wrote:
> This is both a very general, and a specific question. either answer will
> help me a lot.
>
> I know the object$part syntax is used to retrieve parts of an object for
> instance myMantel$signif will return the the p value of mantel() and
> myMantel$statistic the mantel r.
>
> Is there any way of listing such components of all objects. at the
> moment I would like to be able to extract the variance, p value etc for
> a capscle to tabulate the automatically but would also like to know if
> the re is a simple way to establish the way to refer to all individual
> sub parts of a object?
>
>
> thanks
>
> Nevil Amos
>
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide
> http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.



More information about the R-help mailing list