detect_outliers: Function for outlier detection in physiological data

Description Usage Arguments Value

View source: R/detect_outliers.R

Description

Detect and remove outliers in physiological data.

Usage

1
detect_outliers(data, rate = 1000, bin_length = 10, variable = "SBP")

Arguments

data

a data frame containing only numeric columns to be cleaned.

rate

a numeric, the sampling rate of the data. Note if the data was downsampled out of LabChart the corrected sampling rate should be specified in frames per second. Default is 1000.

bin_length

the size of the binning window. Default is 10 seconds.

variable

the variable to use for outlier removal. Default is SBP.

Value

a cleaned data frame with outliers removed.


neurorestore/Aima documentation built on Dec. 22, 2021, 1:14 a.m.