Learn R Programming

uroot (version 1.3)

rmg: Range mean plot

Description

Plot of range against mean.

Usage

rmg (vari, krmg)

Arguments

vari
a ts object.
krmg
the number of observations in the intervals in which the the range and mean are calculated.

Value

  • A graphic of the range against the mean, and the correlation between the range and the mean.

Details

In order to ensure that enough observations are employed for calculating each point, it may choose a choose a value of krmg based on the number of observations N, for example: sqrt(N).

Examples

Run this code
data(AirPassengers)
     rmg (vari=AirPassengers, sqrt(length(AirPassengers)))

Run the code above in your browser using DataLab