plot_feng_1tc_tacfit: Plot Feng input model convolved with a 1TC IRF fit

View source: R/kinfitr_feng_1tc_ref.R

plot_feng_1tc_tacfitR Documentation

Plot Feng input model convolved with a 1TC IRF fit

Description

This function fits the results of the feng_1tc_tac model. For this particular plotting function, I've added little crosses on the TAC points in case the interpolation misses between points. The specific values are important for SRTM and FRTM which use the "raw" reference TAC, so extreme values at the exact times of the data points can be problematic.

Usage

plot_feng_1tc_tacfit(feng_1tc_tac_fit_out)

Arguments

feng_1tc_tac_fit_out

The model output fit object.

Value

A ggplot2 object of the plot.

Author(s)

Granville J Matheson, mathesong@gmail.com

Examples

data(simref)

t_tac <- simref$tacs[[2]]$Times
tac <- simref$tacs[[2]]$Reference
weights <- simref$tacs[[2]]$Weights

fit <- feng_1tc_tac(t_tac, tac, weights)

plot_feng_1tc_tacfit(fit)

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