check_missing_start_end: Check for missing start/end codes

Description Usage Arguments Value

View source: R/check_missing_start_end.R

Description

Check for missing start/end codes

Usage

1
check_missing_start_end(x, start_codes = "sg", end_codes = "eg")

Arguments

x

A data frame of focal observations

start_codes

A character vector of start codes that indicate a behaviour has started (e.g. c("ap", "at")).

end_codes

A character vector of end codes that indicate a behaviour has finished (e.g. c("de", do)).

Value

Returns the focal data with an added "check" column. Look for "check next" which indicates where there two consecutive start or end codes.


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