irreversible.2c.fit: Irreversible two-tissue compartment model fit

Description Usage Arguments Value

View source: R/models-2compartment.R

Description

Fits the model implemented in irreversible.2c.model.

Usage

1
2
3
4
5
6
7
8
  irreversible.2c.fit(input.function, tissue, time.start,
    time.end, K1.start = 0.1, K1.lower = 0, K1.upper = 8,
    k2.start = 0.1, k2.lower = 0, k2.upper = 8,
    k3.start = 0.1, k3.lower = 0, k3.upper = 8,
    vB.start = 0.05, vB.lower = 0, vB.upper = 1,
    left.ventricle = input.function,
    weight = time.end - time.start, plot = FALSE,
    interpolation.type = 1, ...)

Arguments

input.function

Input function TAC.

tissue

Tissue TAC.

time.start

Initial acquisition time for each frame (in minutes).

time.end

Final acquisition time for each frame (in minutes).

K1.start,k2.start,k3.start,vB.start

Initial parameter values.

K1.lower,k2.lower,k3.lower,vB.lower

Parameter lower bounds.

K1.upper,k2.upper,k3.upper,vB.upper

Parameter upper bounds.

left.ventricle

Left ventricle TAC, used for spill-over corretion. Defaults to input.function.

weight

Weight vector for the non-linear squares fit. Defaults to frame length.

plot

TRUE if a plot is to be shown. Defaults to FALSE.

interpolation.type

Interpolation type selection. Passed to interpolate.tac. Defaults to 1.

...

Other parameters passed to the plot function, if used.

Value

Returns a list with three fields: kparms, the computed kinetic parameters; stderrors, the standard errors for each parameter as a percentage; fit, the actual fitted object.


traceRkinetic documentation built on May 2, 2019, 6:10 p.m.