Estimate sleep with sleeper in an isolated Python process
Source:R/acti_sleep_models.R
py_acti_sleeper.RdUses sleeper::py_estimate_sleep() to run the same sleeper model as
acti_sleeper() in a callr subprocess.
Usage
py_acti_sleeper(
data,
epoch = 30L,
model_dir,
pyenv_function = function() sleeper::py_require_sleeper(),
show = FALSE
)Value
An acti_sleep_estimate tibble; see acti_sleeper().