predict.blmod: Predict Blood Model Values

View source: R/kinfitr_methods.R

predict.blmodR Documentation

Predict Blood Model Values

Description

Method to predict values from blood models

Usage

## S3 method for class 'blmod'
predict(object, ...)

Arguments

object

The output object of the model fitting procedure.

...

Additional optional arguments.

Details

This function uses the class(model) name to call the correct function to plot the model fit.

Author(s)

Granville J Matheson, mathesong@gmail.com

Examples

blooddata <- pbr28$blooddata[[1]]
blooddata <- bd_blood_dispcor(blooddata)
blood <- bd_extract(blooddata, output = "Blood")
blood_fit <- blmod_splines(blood$time,
                           blood$activity,
                           Method = blood$Method)

predict(blood_fit)

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