[R] List of object properties

David Winsemius dwinsemius at comcast.net
Tue Feb 2 19:53:30 CET 2010


On Feb 2, 2010, at 1:08 PM, Philipp Rappold wrote:

> Dear all,
>
> I have a simple question: How can I retrieve a list with all  
> properties of an object?
>
> Example:
> If I fit a regression with
>
> model <- coxph(Surv(....)~...)
>
> I know that I can access the coefficients with model 
> $coefficients[...] afterwards, but how do I know which other  
> variables are available and what are their names?

?str

>
> Thanks and all the best
> Philipp
--

David Winsemius, MD
Heritage Laboratories
West Hartford, CT



More information about the R-help mailing list