run_length_encode: Run Length Encoding:

View source: R/process_accelerometry_counts_into_bouts.R

run_length_encodeR Documentation

Run Length Encoding:

Description

A function that runs a normal run length encoding and adds some extra variables for use in calculations.

Usage

run_length_encode(x)

Arguments

x

a vector to run the function on

Value

a data.frame with columns for lengths, values, end, and begin


walkboutr documentation built on May 29, 2024, 2:58 a.m.