coef.outce: coef.outce S3 method to extract the parameter values from an...

View source: R/cpuefuncs.r

coef.outceR Documentation

coef.outce S3 method to extract the parameter values from an outce object

Description

coef.outce extracts the parameter values from an outce object from a standardization (e.g. from standLM) by extending the generic 'coef' function to apply to outce objects. The output includes the log-space coefficients, the lower and upper 95 confidence intervals, the standard error of each parameter, and p the probability that the parameter is significantly different from zero. These coefficients would need to be back-transformed to return to the original scale. This would use x = exp(coef + (sterr*sterr)/2); note the bias correction

Usage

## S3 method for class 'outce'
coef(inout)

Arguments

inout

is a outce object such as produced by standLM

Value

a matrix containing the optimum model parameters,

Examples

## Not run: 
 data(sps)
 splabel = "Species"
 labelM <- c("Year","Vessel","Month")
 mods <- makemodels(labelM)
 sps1 <- makecategorical(labelM,sps)
 out <- standLM(mods,sps1,splabel)
 coef(out)

## End(Not run)

haddonm/rforcpue documentation built on Oct. 12, 2024, 11:55 p.m.