twotcm_macro_fitDelay_model: Model: Two Tissue Compartment Model with Delay with a...

View source: R/kinfitr_2tcm_macro.R

twotcm_macro_fitDelay_modelR Documentation

Model: Two Tissue Compartment Model with Delay with a Macroparameter Parameterisation

Description

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

Usage

twotcm_macro_fitDelay_model(t_tac, input, K1, Vnd, BPp, k4, 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

Vnd

Parameter value for Vnd

BPp

Parameter value for BPp

k4

Parameter value for k4

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: 
twotcm_macro_fitDelay_model(t_tac, input, K1 = 0.1, Vnd = 1, BPp = 2,
                            k4 = 0.02, inpshift = 0, vB = 0.05)

## End(Not run)


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