Re: Extracing p-values from lrm object
- From: "Eric B" <emblabac@xxxxxxxxxxx>
- Date: 20 Mar 2006 07:36:41 -0800
To get values from any R object you use the $. But you can only pull
out the "values" that are available for each object - The available
values to extract from each object are listed in the documentation for
each object respectively. Some of the values for the lrm package are:
call, freq, stats, fail, etc ...
Say your lrm model object was called m1, to get the stats value from it
you code:
m1$stats
thats all there is to it, just make sure the value you code is the
exact spelling of the value, otherwise you'll get a value of NULL ...
It doesnt look like you can get the p-value directly using this method
.... but atleast its a start.
Eric B
.
- References:
- Extracing p-values from lrm object
- From: Julian Day
- Re: Extracing p-values from lrm object
- From: Frank E Harrell Jr
- Extracing p-values from lrm object
- Prev by Date: Re: using minitab
- Next by Date: Re: Help needed in analyzing resuls of a clinical study
- Previous by thread: Re: Extracing p-values from lrm object
- Next by thread: Discrete choice models question
- Index(es):
Relevant Pages
|