cumul_overlap: Counts the number of overlapping rows.

View source: R/cumul_overlap.R

cumul_overlapR Documentation

Counts the number of overlapping rows.

Description

cumul_overlap counts the number of overlapping rows.

Usage

cumul_overlap(x)

Arguments

x

The variable to count overlaps by (usually will be overlap)

Details

This function builds on overlap and counts the number of overlapping rows. Used in the los function. Based on https://stackoverflow.com/questions/5012516/count-how-many-consecutive-values-are-true

Examples

## Not run: 
cumul_overlap(overlap)

## End(Not run)


PHSKC-APDE/Housing documentation built on Feb. 6, 2024, 3:27 a.m.