plotdata: plotdata generates graphs of CE and log-transformed CE data.

Description Usage Arguments Value Examples

View source: R/cpueplots.R

Description

plotdata generates graphs of CE and log-transformed CE data. Included in the graph of the log-transformed cpue data is a fitted normal distribution with the associated bias-corrected average.

Usage

1
plotdata(indat, dependent = "LnCE")

Arguments

indat

is the data.frame containing the data being standardized.

dependent

variable name; defaults to LnCE.

Value

a plot of the untransformed cpue data and of the log-transformed data. Included on the log-transformed data is a fitted normal distribution and the bias-corrected mean estiamte of average CPUE.

Examples

1
2
3
4
5
6
7
8
9
## Not run: 
data(sps)
pick <- which(sps$Year == 2005)
sps2 <- droplevels(sps[pick,])
plotprep()
plotdata(sps2)
plotdata(sps2[sps2$Depth > 200,])

## End(Not run)

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