[R] List of object properties

Philipp Rappold philipp.rappold at gmail.com
Tue Feb 2 19:08:40 CET 2010


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?

Thanks and all the best
Philipp



More information about the R-help mailing list