Learn R Programming

gmwm (version 2.0.0)

autoplot.gmwmComp: Compare GMWM Model Fits with ggplot2 (Internal)

Description

Creates a single graph that contains several GMWM models plotted against each other.

Usage

"autoplot"(object, breaks, levels, object.names, split = TRUE, CI = TRUE, background = "white", transparence = 0.1, line.color = NULL, CI.color = NULL, line.type = NULL, point.size = NULL, point.shape = NULL, title = "Comparison of Implied Wavelet Variance", title.size = 15, axis.label.size = 13, axis.tick.size = 11, axis.x.label = expression(paste("Scale ", tau)), axis.y.label = expression(paste("Wavelet Variance ", nu)), facet.label.size = 13, legend.label = NULL, legend.title = "", legend.key.size = 1.3, legend.title.size = 13, legend.text.size = 13, nrow = 1, plot.emp.wv = T, ...)

Arguments

object
A data.frame containing both sets of GMWM object data.
breaks
A vector used to determine the legend label.
levels
A vector of string that indicates each level in the dataset.
object.names
A vector of string that indicates name of each object.
split
A boolean that indicates whether the graphs should be separate (TRUE) or graphed ontop of each other (FALSE).
CI
A boolean that indicates whether the confidence interval should be plotted.
background
A string that determines the graph background. It can be 'grey' or 'white'.
transparence
A double that ranges from 0 to 1 that controls the transparency of the graph.
line.color
A vector of string that indicates the color of lines.
CI.color
A vector of string that indicates the color of the confidence interval (e.g. 'black', 'red', '#003C7D', etc.)
line.type
A vector of string that indicates the type of lines.
point.size
A vector of integer that indicates the size of points on lines.
point.shape
A vector of integer that indicates the shape of points on lines.
title
A string that indicates the title of the graph.
title.size
An integer that indicates the size of title.
axis.label.size
An integer that indicates the size of label.
axis.tick.size
An integer that indicates the size of tick mark.
axis.x.label
A string that indicates the label on x axis.
axis.y.label
A string that indicates the label on y axis.
facet.label.size
An integer that indicates the size of facet label.
legend.label
A vector of string that indicates the labels on legend.
legend.title
A string that indicates the title of legend.
legend.key.size
A double that indicates the size of key (in centermeters) on legend.
legend.title.size
An integer that indicates the size of title on legend.
legend.text.size
An integer that indicates the size of key label on legend.
nrow
An integer that indicates how many rows the graph should be arranged in.
plot.emp.wv
A boolean that indicates whether Emp. WV should be plotted or not (Used in compare.models).
...
other arguments passed to specific methods

Value

A ggplot2 panel containing one graph with several GMWM models plotted against each other.