getcoeftable {relevance} | R Documentation |
Retrieve the table of coefficients and standard errors, or the scale parameter, or the factors needed for standardizing coefficients from diverse model fitting results
getcoeftable(object) getscalepar(object) getcoeffactor(object)
object |
results of a model fitting function |
Object regrModelClasses
contains the names of the
classes for which the result should work.
For other model classes, the function is not tested and may fail.
For getcoeftable
:
Matrix containing at least the two columns containing the estimated
coefficients (first column) and the standard errors (second column).
For getscalepar
: scale parameter.
For getcoeffactor
: vector of factors, with attributes
scale
, fitclass
and family
or dist
according to object
.
Werner A. Stahel
rr <- lm(Fertility ~ . , data = swiss) getcoeftable(rr) getscalepar(rr) data(ovarian, package="survival") rs <- survival::survreg(survival::Surv(futime, fustat) ~ ecog.ps + rx, data = ovarian, dist = "weibull") getcoeftable(rs) getcoeffactor(rs)