View source: R/candidate_functions.r
cvsh | R Documentation |
cvsh plots the catch versus hours, one can obtain the catches and hours from the functions cbb and hbb. A legend is produced if there is a matrix of values and is made up of the column names of the input catchb matrix.
cvsh(catchb, hoursb, legloc = "topleft")
catchb |
a vector or matrix of catches by year by block |
hoursb |
a matching vector or matrix of hours by year by block |
legloc |
the location of the legend defaults to "topright", could be "topleft", "bottomleft", or "bottomright", usually determined interactively for each instance |
nothing, but it does plot a graph
## Not run:
ind=abd2;legloc="topright";sau="block";hours="hours";year="year"
cbyb <- cbb(ind,sau)
hbyb <- hbb(ind,sau)
cvsh(cbyb,hbyb)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.