sl_example_model: Compact Example Sleep Models

View source: R/sl_models.R

sl_example_modelR Documentation

Compact Example Sleep Models

Description

Compact Example Sleep Models

Usage

sl_example_model(
  model_dir = file.path(tempdir(), "sleeper-example-models"),
  overwrite = FALSE
)

Arguments

model_dir

Directory in which to save the example models.

overwrite

Logical; overwrite files that are already present.

Value

The downloaded model paths, or NULL when a download fails.

Examples

models = sl_example_model()

sleeper documentation built on Sept. 17, 2026, 5:08 p.m.