ps_cumulative_sequence: Cumulative Sequence

View source: R/cumulative-sequence.R

ps_cumulative_sequenceR Documentation

Cumulative Sequence

Description

Determines when in sequence a cumulative sum is reached. Useful for ATUs.

Usage

ps_cumulative_sequence(x, cumsum, data, sequence = "DateTime", value = "Value")

Arguments

x

A scalar specifying the start.

cumsum

A scalar specifying the cumulative sum.

data

The data.frame.

sequence

A string naming the sequence column.

value

A string of the value column.

Value

A scalar of the end.


poissonconsulting/poisdata documentation built on Jan. 17, 2025, 10:27 p.m.