Learn R Programming

LifeInsuranceContracts (version 0.0.2)

rollingmean: Calculate the rolling mean of length 2

Description

Calculate the rolling mean of length 2

Usage

rollingmean(x)

Arguments

x

vector of values, for which the rolling mean is calculated

Examples

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

Run the code above in your browser using DataLab