get.series.lengths.at.ends: Get Series Lengths at Ends

View source: R/rIACI.R

get.series.lengths.at.endsR Documentation

Get Series Lengths at Ends

Description

Calculates the lengths of runs at the ends of a logical vector.

Usage

get.series.lengths.at.ends(x, na.value = FALSE)

Arguments

x

Logical vector.

na.value

Logical. Value to assign to NA elements.

Value

Numeric vector. Lengths of runs at the ends.


rIACI documentation built on April 12, 2025, 9:16 a.m.