R/actigraph.sleepr-package.R

#' actigraph.sleepr
#'
#' This package implements three standard algorithms for sleep
#'  detection from ActiGraph data: Sadeh, Cole-Kripke and Tudor-Locke.
#'
#' In addition to the help pages, see the
#' [README](https://github.com/dipetkov/actigraph.sleepr)
#' for examples.
#'
#' @name actigraph.sleepr
#' @useDynLib actigraph.sleepr, .registration = TRUE
#' @import dplyr ggplot2
#' @importFrom assertthat assert_that has_name noNA
#' @importFrom rlang .data quo_text is_scalar_integerish
#' @importFrom tidyr pivot_wider unnest
#' @importFrom purrr map map2
#' @importFrom zoo na.locf na.trim na.spline
#' @importFrom Rcpp evalCpp
#' @importFrom RcppRoll roll_mean roll_sd roll_sum
#' @importFrom lubridate duration ymd_hms time_length is.POSIXct floor_date
"_PACKAGE"

globalVariables(c(".", "timestamp", "where"))

Try the actigraph.sleepr package in your browser

Any scripts or data that you put into this service are public.

actigraph.sleepr documentation built on Sept. 12, 2026, 5:08 p.m.