View source: R/class_agg_action_intensity.R
class_agg_action_intensity | R Documentation |
This is a helper function for classify_da_id(). Will classify individual aggressions as high or low intensity.
class_agg_action_intensity(x, agg.low, agg.high, ids)
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 |
ids |
A character vector of aggression partner IDs |
A data frame with two new columns: for agg given and rec
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.