group_prey_species | R Documentation |
Prey species are renamed and re-grouped into larger groups of prey, with summed prey weights. The simplest approach maintain the species names provided
by keep_prey_names
and rename all other preys into "other". A more complex method uses a key based on the NODC to split (see NODC_split
).
group_prey_species(
stom,
keep_prey_names,
sum_other_food = TRUE,
NODC_split,
show_allocations = FALSE,
verbose = FALSE
)
stom |
Stomach contents data of class STOMobs. |
keep_prey_names |
Names of preys to be kept unchanged. Remaining preys are renamed to "other" and their prey sizes are changed to missing. |
sum_other_food |
Sum stomach contents of "other" preys. |
NODC_split |
Input file with the fields XXXXX |
show_allocations |
If true the allocation of prey names into groups are shown, when the |
verbose |
Show extra information |
Stomach contents data of class STOMobs. Prey sizes and number of preys as set to missing for preys in the "other" food group.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.