onetcm_fitDelay_model: Model: One Tissue Compartment Model with Delay

View source: R/kinfitr_1tcm.R

onetcm_fitDelay_modelR Documentation

Model: One Tissue Compartment Model with Delay

Description

This is the One Tissue Compartment Model model itself by which predicted values are generated, which includes fitting of the delay, inpshift.

Usage

onetcm_fitDelay_model(t_tac, input, K1, k2, inpshift, vB)

Arguments

t_tac

Numeric vector of times for each frame in minutes. We use the time halfway through the frame as well as a zero.

input

Data frame containing the blood, plasma, and parent fraction concentrations over time. This can be generated using the blood_interp function.

K1

Parameter value for K1

k2

Parameter value for k2

inpshift

Parameter value for inpshift, the delay.

vB

Parameter value for vB

Value

A numeric vector of the predicted values of the TAC in the target region.

Author(s)

Granville J Matheson, mathesong@gmail.com

Examples

## Not run: 
onetcm_fitDelay_model(t_tac, input, K1 = 0.1, k2 = 0.08, inpshift = 0.1, vB = 0.05)

## End(Not run)


mathesong/kinfitr documentation built on Nov. 27, 2024, 1:38 a.m.