Description Usage Arguments Value Author(s) See Also Examples
Extract survey biomass index series from aggrVisit
dataframe,
for a given species, size group, and survey.
1 | surveyIndex(tegund, lengd=NULL, sur="smb", div=1, data=aggrVisit)
|
tegund |
species name, like |
lengd |
minimum length group to include in the biomass index, or
|
sur |
survey name, either |
div |
denominator to shorten biomass index. |
data |
main dataframe, like |
Dataframe with eight columns:
ar |
year |
bio.staerri |
biomass index |
cv.bio.staerri |
cv |
svaedi |
area |
svaedisnr |
area code |
lengd |
length |
tegund |
species |
sur |
survey name |
Arni Magnusson.
[
is used to extract the relevant rows and columns.
hafroAssmt-package
gives an overview of the package.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | aggrDemo <- data.frame(fj=0, cv.fj=NA,
bio.staerri=round(1e5*exp(rnorm(36,sd=0.3)),1),
cv.bio.staerri=round(runif(36,0.05,0.5),3),
fj.minni=0, cv.fj.minni=NA, fj.haenga=0,
cv.fj.haenga=NA, fj.hrygna=0, cv.fj.hrygna=NA,
svaedi=c("N","S","Heild"), svaedisnr=13:15,
lengd=rep(7:9,each=3), ar=rep(2001:2004,each=9),
bio=0, tegund="daemi", sur="smb")
surveyIndex("daemi", data=aggrDemo)
surveyIndex("daemi", data=aggrDemo, div=1e3)
## Typical usage requires aggrVisit:
##
## surveyIndex("ufsi", 55)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.