One row per replicate (iter), year, quarter, site type (area), segment
(fleet) and species, with the estimated and the true catch (kg); effort
rows (variable = "effort", trips) have species = NA. Works for a single
sample's estimate, a survey over years, or a spun programme.
Usage
spins_long(x, fishery = NULL, effort = TRUE)
Arguments
- x
A cas_estimate, cas_survey or cas_spins.
- fishery
The cas_fishery (for the truth; not needed for
cas_spins).
- effort
Include effort rows.
Value
A data frame: variable ("catch" kg, "effort" trips), iter,
year, quarter, site_type, segment, species, estimate, se,
true.