read.actigraph.header: Process an actigraph file header

Description Usage Arguments Details Value See Also

View source: R/accelerate-reading.R

Description

Reads in the header part of an actigraph 'dat' file and does the necessary text processing. Used in read.actigraph.dat.

Usage

1
2
3
4
5
6
7
8
9
read.actigraph.header(
  filename,
  dateformat = c("month", "day", "year"),
  id.prefix = "",
  format = TRUE,
  h = FALSE,
  Way = "ActiGraph",
  return.l = FALSE
)

Arguments

filename

the file to read

dateformat

- the order of "month" "day" and "year" in date string given as a character vector e.g c("month", "date", "year")

id.prefix

- prefix to be added to the id

format

TRUE

h

FALSE

Way

"ActiGraph" or "CSA"

return.l

FALSE

Details

For processing the headers of older actigraph files in "dat" format.

Value

a list of processed header data

See Also

read.actigraph.dat


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