covarPlot | R Documentation |
For a trap, plot efficiency against an environmental covariate and the covariate against time.
covarPlot(covar, df, dbCovar, trap, eff.ind.inside, bsplBegDt, fit)
covar |
A unit-length character specifying the covariate of interest with
its associated unit, e.g., |
df |
A data frame containing at least numerator and denominator
efficiency information, i.e., variables |
dbCovar |
A data frame containing queried data from a CAMP database for one environmental covariate. |
trap |
A unit-length numeric corresponding to a |
eff.ind.inside |
A logical vector identifying which visit dates correspond to dates within a fishing period, as defined by when efficiency trials took place. |
bsplBegDt |
The first date, via the spline-1959-1960 paradigm, to which all efficiency years and dates collapse. |
fit |
An enhanced-efficiency model fit object resulting from function
|
The function is intended to be called as part of a larger script. As
such, the function itself doesn't include any png
statements or
dev.off()
of the same.
Plots to screen, as described in the description.
WEST Inc.
estCovar
## Not run: covarPlot("turbidity_ntu",obs.eff.df,dbTurb,57004,eff.ind.inside) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.