coef: Extract Model Coefficients

Description Usage Arguments Value Author(s) See Also Examples

Description

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

Usage

1
2
3
4
5
## 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

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

scaleboot documentation built on Dec. 4, 2019, 5:07 p.m.