coef {scaleboot}R Documentation

Extract Model Coefficients

Description

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

Usage


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

## S3 method for class '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.

Author(s)

Hidetoshi Shimodaira

See Also

sbfit

Examples

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

[Package scaleboot version 1.0-1 Index]