Learn R Programming

ecm (version 7.2.0)

cumcount: Get cumulative count

Description

Get the cumulative count of a variable of interest

Usage

cumcount(x)

Value

The cumulative count of all items in x

Arguments

x

A vector for which to get cumulative count