scaleCE: scaleCE scales an input vector of CPUE to a mean of one x...

View source: R/cpuefuncs.r

scaleCER Documentation

scaleCE scales an input vector of CPUE to a mean of one x avCE

Description

scaleCE scales a vector of CPUE to a mean of one or avCE. The use of a mean of one means that visual comparisons between different time-series becomes visually simplified. The avCE option could be used to scale the CPUE to the average geometric mean - so as to put it on the nominal scale

Usage

scaleCE(invect, avCE = 1)

Arguments

invect

a vector of linear scale CPUE

avCE

defaults to one but can be set to any particular value

Value

a vector of CPUE re-scaled to a mean of one or avCE

Examples

## Not run: 
 ce <- c(0.4667187,1.2628564,0.8442146,0.9813531, 0.5554076,0.7426321)
 scaleCE(ce)
 scaleCE(ce,100.0)

## End(Not run)

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