blood_smooth: Smooth continuous blood data

View source: R/kinfitr_bloodfuncs.R

blood_smoothR Documentation

Smooth continuous blood data

Description

This function averages each pair of blood measurements from ABSS systems - can be used after dispersion correction.

Usage

blood_smooth(time, activity, iterations = 1)

Arguments

time

Vector of time (in seconds) of each sample.

activity

Vector of measured radioactivity concentrations in blood samples.

iterations

The number of times that the smoothing of each pair of observations should be performed.

Value

A tibble containing the measured times and radioactivity concentrations after smoothing.

Examples

time <- 1:20
activity <- rnorm(20)

blood_smooth(time, activity, 5)

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