coef function

Extract Model Coefficients

Extract Model Coefficients

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

## 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?

Returns

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