summary.acc: summary.acc

Description Usage Arguments Value

View source: R/accelerate-summarize.R

Description

summary.acc

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
## S3 method for class 'acc'
summary(
  object,
  BY = "DSTday",
  STATS = if (short) list(function(...) CNTSTATS(..., short = TRUE)) else c(CNTSTATS,
    STEPSTATS, HRSTATS),
  copy = c("File", "ID", "Epoch", "Model", "Serial"),
  report.errors = !short,
  roundto = NULL,
  short = FALSE,
  ...
)

Arguments

object

x

BY

an interval specification that can be interpreted by cut.POSIXt, e.g., "DSTday" or "30 mins" or "2 hours"

STATS

STATS

copy

the columns to be copied from the header part of the acc file, defaults to c("File", "ID", "Epoch", "Model", "Serial")

report.errors

report.errors

roundto

only used if BY=="30 mins": any value that is not NULL will cause the time stamps to be rounded to nearest half-hour (this was quick hack for synchronizing data with another device – let me know if you need something like this)

short

use short output (no HR or error reporting, and just one set of cutoffs)

...

...

Value

summary.acc


lebatsnok/accelerate documentation built on Dec. 21, 2021, 9:47 a.m.