View source: R/model_selection_methods.R
auto_imu | R Documentation |
Runs through a model selection algorithm to determine the best model
auto_imu(data, model = 3 * AR1() + WN() + RW() + QN() + DR(),
bootstrap = F, alpha = 0.05, robust = F, eff = 0.6, B = 50,
G = 1e+06, seed = 1337)
data |
A |
model |
A |
bootstrap |
A |
alpha |
A |
robust |
A |
eff |
A |
B |
A |
G |
A |
seed |
A |
The auto.imu
object stores two important features for each signal:
[[1]]A matrix containing model output
[[2]]The best gmwm
object.
To access it for each signal use:
object[[i]][[1]]
or object[[i]][[2]]
, where i
denotes the signal.
A auto.imu
object.
JJB
## Not run:
if(!require("imudata")){
install_imudata()
library("imudata")
}
data(imu6)
# Example 1
test1 = imu(imu6, gyros = 1:3, accels = NULL, axis = c('X', 'Y', 'Z'), freq = 100)
m = auto_imu(test1)
# Process 1's model table
m[[1]][[1]]
# Process 1's best fitting gmwm object
m[[1]][[2]]
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.