predict_blmod: Predict Blood Model Values: Generic Function

View source: R/kinfitr_miscfuncs.R

predict_blmodR Documentation

Predict Blood Model Values: Generic Function

Description

Function to predict values from blood models

Usage

predict_blmod(modelout, ...)

Arguments

modelout

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.

Value

The predicted values

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_blmod(blood_fit)



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