Description Usage Arguments Value Examples
Creates a graph of the wavelet variance for imu object.
1 2 3 4 5 6 7 8 9 10 11 12 | ## S3 method for class 'wvar.imu'
autoplot(object, split = TRUE, CI = TRUE,
background = "white", transparence = 0.1, line.color = NULL,
line.type = NULL, point.size = NULL, point.shape = NULL,
CI.color = NULL, title = "Haar Wavelet Variance Representation",
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)),
units = c(bquote(rad^2/s^2), bquote(m^2/s^4)), facet.label.size = 13,
facet.label.background = "#003C7D33", legend.title = "Axis",
legend.key.size = 1.3, legend.title.size = 13,
legend.text.size = 13, scales = "free_y", ...)
|
object |
A |
split |
A |
CI |
A |
background |
A |
transparence |
A |
line.color |
A |
line.type |
A |
point.size |
A |
point.shape |
A |
CI.color |
A |
title |
A |
title.size |
An |
axis.label.size |
An |
axis.tick.size |
An |
axis.x.label |
A |
axis.y.label |
A |
units |
A two-element vector indicating the units of gyroscope and accelerometer sensor. Set it to |
facet.label.size |
An |
facet.label.background |
A |
legend.title |
A |
legend.key.size |
A |
legend.title.size |
An |
legend.text.size |
An |
scales |
Same as |
... |
Additional options. |
A panel containing the graph of an IMU sensor.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 | ## Not run:
if(!require("imudata")){
install_imudata()
library("imudata")
}
data(imu6)
test = imu(imu6, gyros = 1:3, accels = 4:6, freq = 100)
df = wvar.imu(test)
## Plot in split way
autoplot(df, split = T)
autoplot(df, split = T, CI = F)
autoplot(df, split = T, CI = T, line.color = c('black', 'black'), title.size = 18)
## Plot in combined way
autoplot(df, split = F)
autoplot(df, split = F, line.color = c('black', 'green', 'red'),
CI.color = c('black', 'green', 'red'))
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.