class_da_id: Classify da pa id

Description Usage Arguments Value

View source: R/class_da_id.R

Description

This is a helper function for classify_da_id(). Requires the output of class_agg_action_intensity(). Checks if an aggression inside a da_pa_id was given or received at least once. Prioritises high intensity over low.

Usage

1
class_da_id(x, tag = NULL)

Arguments

x

A data frame of focal observations

tag

A character string that denotes the class of aggression partner. will be added to the new column name. e.g. "mm" or "mf".

Value

A data frame with two new columns.


avrincon/phukieo documentation built on Aug. 17, 2020, 1:31 p.m.