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

View source: R/cpueplots.R

plotdataR Documentation

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

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

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

## 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/rforcpue documentation built on Oct. 12, 2024, 11:55 p.m.