plot.mimu: Plot Wavelet Variances

Description Usage Arguments Value Author(s) Examples

View source: R/mimu.R

Description

Displays a plot of wavelet variances accounting for CI values.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
## S3 method for class 'mimu'
plot(
  obj_list,
  split_plot = FALSE,
  add_legend = TRUE,
  xlab = NULL,
  ylab = NULL,
  col_wv = NULL,
  col_ci = NULL,
  nb_ticks_x = NULL,
  nb_ticks_y = NULL,
  legend_position = "bottomleft",
  ci_wv = NULL,
  point_cex = NULL,
  point_pch = NULL,
  names = NULL,
  transparency_wv = NULL,
  transparency_ci = NULL
)

Arguments

add_legend

A bolean that detemines if a legend is added to the plot.

xlab

A string that gives a title for the x axis.

ylab

A string that gives a title for the y axis.

col_wv

A vector that specifies the color of the wavelet variance line.

col_ci

A vector that specifies the color of the confidence interval polygon.

nb_ticks_x

An integer that specifies the maximum number of ticks for the x-axis.

nb_ticks_y

An integer that specifies the maximum number of ticks for the y-axis.

legend_position

A string that specifies the position of the legend (use legend_position = NA to remove legend).

ci_wv

A boolean that determines whether a confidence interval polygon will be drawn.

point_cex

A double that specifies the size of each symbol to be plotted.

point_pch

A double that specifies the symbol type to be plotted.

transparency_wv

An integer that specifies the tranparency for the wavelet variance lines.

transparency_ci

An integer that specifies the tranparency for the wavelet variance confidence intervals.

x

A mimu object.

split

A bolean that determines if the wavelet variances are splitted in different plot windows.

Value

Plot of wavelet variances and confidence intervals for each scale.

Author(s)

Stephane Guerrier, Nathanael Claussen, Gaetan Bakalli and Justin Lee

Examples

1
2
3
4
5
6
Xt = rnorm(n/4)
Yt = rnorm(n/2) + cumsum(rnorm(n/2, 0, 10^(-2)))
Zt = rnorm(n) + cumsum(rnorm(n, 0, 10^(-3)))
obj = make_mimu(Xt, Yt, Zt, freq = 100, unit = "s",
sensor.name = "MTiG - Gyro. X", exp.name = c("today", "yesterday", "a few days ago"))
plot(obj, split_plot = FALSE)

SMAC-Group/mgmwm documentation built on July 16, 2021, 1:17 a.m.