lf.aggregate | R Documentation |
lf.aggregate
aggregates counts data by year, quarter, lat, lon, and user-sepcified length bins
lf.aggregate(LC, fcol, lcol, bins, new_bins, LengthOnly = FALSE, minN = 0)
LC |
The length frequency data frame input; must include four columns: lat, lon, year, and quarter |
fcol |
The first column in the data frame with length frequency info |
lcol |
The last column in the data frame with length frequency info |
bins |
Names of all bins included in LF |
new_bins |
Names of all bins included in LF |
LengthOnly |
Whether aggregate data by new length bins only |
minN |
minimal sample size required for a year-quarter-lat-lon stratum |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.