Learn R Programming

tidyft (version 0.4.5)

cummean: Cumulative mean

Description

Returns a vector whose elements are the cumulative mean of the elements of the argument.

Usage

cummean(x)

Arguments

x

a numeric or complex object, or an object that can be coerced to one of these.

Value

A numeric vector

Examples

Run this code
# NOT RUN {
cummean(1:10)

# }

Run the code above in your browser using DataLab