Sums the stratum estimates of effort (landings, i.e. fishing trips) over
the groups not in by, like catch_by() does for catch.
Usage
effort_by(x, by = "segment", fishery = NULL, level = 0.95)
Arguments
- x
A cas_estimate or a cas_survey.
- by
Grouping columns among "segment", "site_type", "quarter";
NULL for the total.
- fishery
Optional cas_fishery to add the true effort.
- level
Confidence level.
Value
A data frame with year, the groups, estimate, se, cv,
lower, upper (trips), and true, rel_error, covered if
fishery is given.