Learn R Programming

scaleboot (version 1.0-1)

coef: Extract Model Coefficients

Description

Extract the estimated parameters from "scaleboot" or "scalebootv" objects.

Usage

# S3 method for scaleboot
coef(object,sd=FALSE,...)

# S3 method for scalebootv coef(object,...)

Arguments

object

an object used to select a method.

...

further arguments passed to or from other methods.

sd

logical. Should standard errors be returned as well?

Value

The coef method for the class "scaleboot" returns a matrix consisting of row vectors of beta's for models. If sd=TRUE, it returns a list with components estimate and sd for the beta matrix and its standard error respectively.

See Also

sbfit

Examples

Run this code
# NOT RUN {
data(mam15)
a <- mam15.relltest[["t4"]] # an object of class "scaleboot"
coef(a) # print the estimated beta values
coef(a,sd=TRUE) # with sd
# }

Run the code above in your browser using DataLab