Skip to contents

Importing, screening, and exporting sleep or nap Actiwatch data.

Usage

quality_check(subject, trimester, nap = FALSE, cutpoint = 30)

Arguments

subject

A character vector denoting the Pregnancy 24/7 subject.

trimester

A character or integer vector denoting trimester of pregnancy.

nap

Logical denoting if nap data is to be imported and screened. Default is FALSE.

cutpoint

A numeric value denoting the amount of time in minutes to see if nap and sleep overlap. Default is 30 minutes.

Details

If nap data is being screened then sleep data is imported as well for checking of overlapping nap and sleep windows. This function relies soley on the other msleep functions. So, for further details, see the documentation of the functions listed below.

Examples

if (FALSE) { # \dontrun{
quality_check(subject = "1000-AB", trimester = 1)
} # }