| estimate_steps_forest | R Documentation |
Estimate Steps with Unified Syntax
estimate_steps_forest(data, ...)
have_forest()
estimate_steps_verisense(
data,
resample_to_15hz = FALSE,
...,
method = c("original", "revised")
)
estimate_steps_sdt(data, ...)
data |
A |
... |
additional arguments to pass to specific method |
resample_to_15hz |
resample the data to 15Hz as |
method |
Either using the original parameters |
A data.frame of seconds and steps
run_example = FALSE
csv_file = system.file("test_data_bout.csv", package = "walking")
if (requireNamespace("readr", quietly = TRUE)) {
run_example = TRUE
x = readr::read_csv(csv_file)
colnames(x)[colnames(x) == "UTC time"] = "time"
out = estimate_steps_verisense(x, sample_rate = 10L,
method = "original")
out = estimate_steps_verisense(x, sample_rate = 10L,
method = "revised")
out = estimate_steps_sdt(x, sample_rate = 10L)
}
if (requireNamespace("readr", quietly = TRUE) &&
reticulate::py_module_available("forest")) {
out = estimate_steps_forest(x, sample_rate_analysis = 10L)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.