getStand: getStand extracts major results from an outce object

View source: R/cpuefuncs.r

getStandR Documentation

getStand extracts major results from an outce object

Description

getStand extracts major results from an outce object. which is generated using standLM. The main results include the year, the geometric mean (the first column of the standardization), the optimum model, the standard error of the optimum, and the lower and upper confidence intervals

Usage

getStand(x, P = 0.95)

Arguments

x

the outce object derived from standLM

P

the probability interval for the confidence intervals

Value

matrix containing the primary results

Examples

## Not run: 
 data(sps)
 sps$LnCE <- log(sps$catch_kg/sps$Effort)
 splabel = "test"
 labelM <- c("Year","Vessel","Month","Zone")
 sps1 <- makecategorical(labelM,sps)
 mods <- makemodels(labelM)
 out <- standLM(mods,sps1,splabel)
 round(out$Results,4)
 round(out$WhichM,4)
 getStand(out)

## End(Not run)

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