scaleCE: scaleCE - Function to scale a vector of CPUE to a mean of one...

Description Usage Arguments Value Examples

View source: R/cpuefuncs.r

Description

Function to scale 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

1
scaleCE(invect, avCE = 1)

Arguments

invect

a vector of linear scale CPUE

avCE

defaults to one but can be set to a particular value

Value

the time-series of CPUE re-scaled to a mean of one or avCE

Examples

1
2
3
ce <- c(0.4667187,1.2628564,0.8442146,0.9813531, 0.5554076,0.7426321)
scaleCE(ce)
scaleCE(ce,100.0)

haddonm/r4cpue documentation built on May 11, 2020, 1:31 a.m.