nh3.2c.fit: Computes the one-tissue compartmental model parameters for...

Description Usage Arguments Value

View source: R/models-2compartment.R

Description

Automatically performs the metabolite correction implemented in nh3.vdhoff.correction to the input.function term. The left.ventricle term is not provided. All the other parameters are provided just like in the irreversible.2c.fit function and the return values are the same.

Usage

1
2
3
4
5
6
7
  nh3.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,
    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.

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.