visit_rle: Run-length encoding of nest visits

View source: R/revisit_funs.R

visit_rleR Documentation

Run-length encoding of nest visits

Description

visit_rle calculates the run-length encoding of visits based on the daily history of revisitation of a candidate nest.

Usage

visit_rle(x)

Arguments

x

data.frame of daily revisitation history of a candidate nest

Details

Used with lapply inside function revisit_stats. Performs run-length encoding of nest visits and formats as data.frame for later use.

Value

Returns data.frame of run-length encoding of nest visits.


picardis/nestR documentation built on July 2, 2024, 6:35 p.m.