bd_blood_dispcor: Perform Dispersion Correction on a blooddata object

View source: R/kinfitr_blooddata.R

bd_blood_dispcorR Documentation

Perform Dispersion Correction on a blooddata object

Description

Dispersion corrected is performed on the continuous blood data if it has not already been performed.

Usage

bd_blood_dispcor(
  blooddata,
  timedelta = NULL,
  keep_interpolated = T,
  smooth_iterations = 0,
  tau = NULL
)

Arguments

blooddata

A blooddata object created using one of the create_blooddata_* functions.

timedelta

The time difference between each measured sample. Defaults to the most common time difference between the first 20 measurements.

keep_interpolated

Defaults to TRUE: should interpolated samples which were not included in the original input be included in the output.

smooth_iterations

The number of times that the smoothing of each pair of observations should be performed using blood_smooth. Defaults to 0.

tau

The dispersion constant in unit seconds. If NULL (default), this value will be extracted from the constant in the blooddata object. This parameter is included as a manual override.

Value

A blooddata object after dispersion correction.

Author(s)

Granville J Matheson, mathesong@gmail.com

Examples

## Not run: 
blooddata <- bd_blood_dispcor(blooddata)

## End(Not run)


mathesong/kinfitr documentation built on Jan. 15, 2024, 11:07 p.m.