View source: R/individual_prey_weights_from_pooled_weight.R
prey_w_from_pooled_weight | R Documentation |
Allocate weight to individual prey lengths from prey-pooled weights using length-weight relations by prey species and digestion stage from records where prey weights are recorded by the individual record. This is done for the species included in the list of species (control@sel_species). For other species, a total weight by species is calculated and length information is set to missing.
prey_w_from_pooled_weight(
stom,
sum_other_preys = TRUE,
do_plots = FALSE,
quantile_lw = c(0.01, 0.99)
)
stom |
input Stomach contents data of class STOMobs. |
sum_other_preys |
Flag for transforming preys not included in sel_preys into prey="other food" with no length information |
do_plots |
Flag for plotting derived length-weight relations and other plots. |
quantile_lw |
Quantile of size range of prey length to be used for estimating length-weight relation |
Stomach data, class STOMobs.
## Not run: individual_prey_weights_from_pooled_weight(stom=a,sel_preys=c("Clupea harengus"),
sum_other_preys=TRUE,do_plots=FALSE)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.