sb_profile: Implement sedentary profiles

View source: R/sb_profile.R

sb_profileR Documentation

Implement sedentary profiles

Description

Implement sedentary profiles

Usage

sb_profile(object, method = "Hibbing_2021", ...)

Arguments

object

input (either data frame or output from profile_describe_sb)

method

character. The profile method to use (currently only supports "Hibbing_2021").

...

further arguments passed to profile_describe_sb (used only in data frame method)

Value

one or more profile assignments

See Also

sb_profile_Hibbing2021 Hibbing et al. (2021)

Examples

data(example_data, package = "PBpatterns")
sb_profile(example_data, counts = "PAXINTEN", epoch_length_sec = 60)
sb_profile(
  example_data, counts = "PAXINTEN",
  model = "randomForest", epoch_length_sec = 60
)
sb_profile(
  example_data, id = "PAXDAY",
  counts = "PAXINTEN", epoch_length_sec = 60
)
sb_profile(
  example_data, id = "PAXDAY", counts = "PAXINTEN",
  model = "decisionTree", epoch_length_sec = 60
)


paulhibbing/PBpatterns documentation built on Feb. 17, 2024, 5:34 a.m.