class_da_id: Classify da pa id

View source: R/class_da_id.R

class_da_idR Documentation

Classify da pa id

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

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/phdfuns documentation built on Nov. 13, 2022, 10:34 a.m.