get_epoch: Retrieve the epoch length of an ActiGraph data frame

View source: R/AGread_utils.R

get_epochR Documentation

Retrieve the epoch length of an ActiGraph data frame

Description

Retrieve the epoch length of an ActiGraph data frame

Usage

get_epoch(AG, time_var = "Timestamp")

Arguments

AG

data frame of ActiGraph data

time_var

character scalar. Name of the time variable column

Value

scalar epoch length

Examples

AG <- read_AG_counts(
  system.file("extdata/example1sec.csv", package = "AGread"),
  header = TRUE
)
get_epoch(AG)

AGread documentation built on Sept. 13, 2022, 5:06 p.m.