Learn R Programming

gmwm (version 2.0.0)

autoplot.wvar: Graph Wavelet Variances

Description

Creates the wavelet variance graph

Usage

"autoplot"(object, transparence = 0.1, background = "white", bw = F, CI.color = "#003C7D", line.type = c("solid", "dotted"), line.color = c("#003C7D", "#999999"), point.size = c(5, 0), point.shape = c(20, 46), title = NA, 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)), legend.title = "", legend.label = NULL, legend.key.size = 1, legend.title.size = 13, legend.text.size = 13, ...)

Arguments

object
A wvar object.
transparence
A double that ranges from 0 to 1 that controls the transparency of the graph.
background
A string that determines the graph background. It can be 'grey' or 'white'.
bw
A boolean that indicates whether the graph should be black and white color scheme.
CI.color
A 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.
line.color
A vector of string that indicates the color 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.
legend.title
A string that indicates the title of legend.
legend.label
A vector of string that indicates the labels on 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.
...
other arguments passed to specific methods.

Value

A ggplot2 graph containing the wavelet variances.

Examples

Run this code
set.seed(999)
x=rnorm(100)
out = wvar(x)
autoplot( out )

Run the code above in your browser using DataLab