View source: R/sb_profile__Hibbing2021a__main.R
sb_profile_Hibbing2021 | R Documentation |
Apply the SB profiles of Hibbing et al. (2021)
sb_profile_Hibbing2021(object, method = "Hibbing_2021", ...)
## S3 method for class 'bouts'
sb_profile_Hibbing2021(
object,
method = "Hibbing_2021",
model = c("both", "decisionTree", "randomForest"),
...
)
## S3 method for class 'data.frame'
sb_profile_Hibbing2021(
object,
method = "Hibbing_2021",
model = c("both", "decisionTree", "randomForest"),
id = NULL,
counts = NULL,
wear = NULL,
sb = 100,
valid_indices = NULL,
...
)
## S3 method for class 'list'
sb_profile_Hibbing2021(
object,
method = "Hibbing_2021",
model = c("both", "decisionTree", "randomForest"),
...
)
object |
input (either data frame or output from
|
method |
character. The profile method to use (currently only supports
|
... |
further arguments passed to |
model |
character. The model(s) to use for the prediction |
id |
character scalar (optional). Column name on which to divide
|
counts |
character scalar. Column name of the variable to use when classifying sedentary behavior (and wear time, depending on the function) |
wear |
character scalar [optional]. Column name of the variable to use
for determining wear time (logical vector with |
sb |
numeric. The cut point to use for classifying sedentary behavior |
valid_indices |
[optional] numeric/integer/logical vector specifying
which indices of |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.