countOutcomeold {LKT}R Documentation

countOutcome

Description

Compute the prior sum of the response appearing in the outcome column for the index

Usage

countOutcomeold(data, index, response)

Arguments

data

the dataset to compute an outcome vector for

index

the subsets to count over

response

the actually response value being counted

Value

the vector of the lagged cumulative sum.


[Package LKT version 1.7.0 Index]