View source: R/redistribution.R
redist_unidentified_prey_lengths | R Documentation |
Redistribute preys with no length information
redist_unidentified_prey_lengths(
s,
dist_time = stratum_time,
dist_area = stratum_area,
dist_pred_size = pred_size,
selected_pred,
remains_to_other = TRUE,
others_to_other = TRUE,
verbose = FALSE
)
s |
Stomach contents data of class STOMobs. |
dist_time |
Stratum used for time in constructing proportion of species within a prey group of not fully identified prey items. The variable should be made from variable names in s, or constants. |
dist_area |
Stratum used for area in constructing proportion of species within a prey group of not fully identified prey items. The variable should be made from variable names in s, or constants. |
dist_pred_size |
Stratum used for predator size in constructing proportion of species within a prey group of not fully identified prey items. The variable should be made from variable names in s, or constants. |
selected_pred |
Predators for which redistribution is done. All predators included in s is selected if selected_pred value is missing. |
remains_to_other |
Convert not fully identified prey species to prey 'other' where no species allocation key cannot be found. |
others_to_other |
Convert not species not included in |
verbose |
Logical, show delatils |
Redistribute missing length observations using the observed length distribution of the species ' from the same predator and predator size class within the given area and time strata. Only prey species ' specified by control@sel_preys are redistributed.'
s Stomach contents data of class STOMobs.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.