Learn R Programming

gmwm (version 2.0.0)

mean_diff: Mean of the First Difference of the Data

Description

The mean of the first difference of the data

Usage

mean_diff(x)

Arguments

x
A vec containing the data

Value

A double that contains the mean of the first difference of the data.

Examples

Run this code
x=rnorm(100)
mean_diff(x)

Run the code above in your browser using DataLab