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
#' @docType package
#' @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 when
#' @importFrom zoo na.locf na.trim na.spline
#' @importFrom RcppRoll roll_mean roll_sd roll_sum
#' @importFrom lubridate duration ymd_hms time_length is.POSIXct floor_date
NULL

globalVariables(c(".", "timestamp", "where"))
dipetkov/actigraph.sleepr documentation built on March 25, 2022, 2:33 a.m.