dplyr adds cumall(), cumany(), and cummean() to complete R's set of cumulate functions to match the aggregation functions available in most databases

cumall(x)

cumany(x)

cummean(x)

Arguments

x

For cumall() and cumany(), a logical vector; for cummean() an integer or numeric vector