check_part: Check partner

View source: R/check_part.R

check_partR Documentation

Check partner

Description

Check if action_partner was also a focal animal on the date of the action

Usage

check_part(x)

Arguments

x

A data frame. Needs columns "focal_animal" and "action_partner"

Value

Adds a new column "check_partner" to x, with "yes" or "no" if action partner was also a focal that day. Also adds "rowid" column. Need this so that there are no duplicate rows, so that merging later works properly


avrincon/phdfuns documentation built on Nov. 13, 2022, 10:34 a.m.