autoplot.auto.imu: Automatic Model Selection Results of IMU Object

Description Usage Arguments Value Examples

Description

Creates a graph of the automatic model selection result containing the empirical and theoretical wavelet variances.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
## S3 method for class 'auto.imu'
autoplot(object, CI = TRUE, background = "white",
  transparence = 0.1, line.color = NULL, line.type = NULL,
  point.size = NULL, point.shape = NULL, CI.color = "#003C7D",
  title = "Automatic Model Selection Results", 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, facet.label.background = "#003C7D33",
  scales = "free_y", ...)

Arguments

object

A auto.imu object

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 confidence interval.

line.color

A vector of string that indicates the color of the line drawn (e.g. black, blue, red, etc.)

line.type

A vector of string that indicates the type of line (e.g. solid, dotted, etc.)

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.

CI.color

A string that indicates the color of the confidence interval (e.g. black, red, #003C7D, etc.)

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.

facet.label.background

A string that indicates the background color of the facet label.

scales

Same as scales in facet_grid() in ggplot2 package: should scales be fixed ("fixed"), free ("free"), or free in one dimension ("free_x", "free_y"). The default is "free_y" in this function.

...

Additional options.

Value

A panel containing the automatic model selection results of an IMU sensor.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
## Not run: 
if(!require("imudata")){
   install_imudata()
   library("imudata")
}

data(imu6)
test = imu(imu6, gyros = 1:3, accels = 4:6, axis = c('X', 'Y', 'Z'))
df = auto.imu(test)
autoplot(df)
autoplot(df, CI = F)
autoplot(df, CI = T, line.color = c('black', 'black', 'blue'), title.size = 18)

## End(Not run)

gmwm documentation built on April 14, 2017, 4:38 p.m.