mtest.plot {GammaTest}R Documentation

Plotting the results of the M-test

Description

Plots the M-test graph.

Usage

mtest.plot(mt.results, stat="Gamma", ...)

Arguments

mt.results The returned results from an M-test.
stat Either "Gamma" to plot the Gamma statistics, or "Vratio" to plot the V ratios.
... Graphical parameters (e.g. setting the colour)

Author(s)

Samuel E. Kemp. To report any bugs or suggestions please email: sekemp@glam.ac.uk

Examples

# Noisy Sine wave example
x <- seq(length=500, from=-2*pi, to=2*pi)
y <- sin(x) + rnorm(500, sd=sqrt(0.075)) # Set the variance of the noise to 0.075.
xy <- data.frame(x,y)                    # Create an input/output dataset.
mt <- mtest(xy)
mtest.plot(mt)

[Package GammaTest version 1.1 Index]