group_prey: Classify prey into groups

View source: R/food.records.R

group_preyR Documentation

Classify prey into groups

Description

Classify prey into a set of user-defined categories

Usage

group_prey(x, group = "coarse")

Arguments

x

A record set

group

Either a character vector specifying one of the built-in prey classifications ("coarse" or "detailed") or a user-defined function modeled after these two built-ins that will perform a custom prey classification.

Value

A record set with an additional column – "prey_group" – containing the result of the prey categorization.

See Also

prey_coarse, prey_detailed


blueraleigh/squamatabase documentation built on May 9, 2024, 11:07 a.m.