countOutcomeold | R Documentation |
Compute the prior sum of the response appearing in the outcome column for the index
countOutcomeold(data, index, response)
data |
the dataset to compute an outcome vector for |
index |
the subsets to count over |
response |
the actually response value being counted |
the vector of the lagged cumulative sum.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.