coef.CEout: coef.CEout - S3 method to extract the parameter values from a...

Description Usage Arguments Value Examples

View source: R/cpuefuncs.r

Description

Extract the parameter values from a CEout object from standLnCE by extending the generic 'coef' function to apply to CEout objects, such as generated by standLnCE

Usage

1
2
## S3 method for class 'CEout'
coef(inout)

Arguments

inout

is a CEout object produced by standLnCE

Value

a matrix containing the optimum model parameters, including the log-space coefficients, the lower and upper 95 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

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
## 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/r4cpue documentation built on May 11, 2020, 1:31 a.m.