Description Usage Arguments Value
View source: R/classify_da_id.R
Checks if an aggression inside a da_pa_id was given or received at least once. Prioritises high intensity over low.
| 1 | classify_da_id(x, agg.low, agg.high, id, tag = NULL)
 | 
| x | A data frame of focal observations | 
| agg.low | A character vector of low intensity aggression codes | 
| agg.high | A character vector of high intensity aggression codes | 
| id | A character vector of aggression partner IDs | 
| tag | A character string that denotes the class of aggression partner. will be added to the new column name. e.g. "mm" or "mf". | 
A data frame with two new columns.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.