View source: R/kinfitr_reflogan.R
plot_refLoganfit | R Documentation |
Function to visualise the fit of the refLogan model to data.
plot_refLoganfit(refloganout, roiname = NULL)
refloganout |
The output object of the refLogan fitting procedure. |
roiname |
Optional. The name of the Target Region to see it on the plot. |
A ggplot2 object of the plot.
Granville J Matheson, mathesong@gmail.com
data(simref)
t_tac <- simref$tacs[[2]]$Times
reftac <- simref$tacs[[2]]$Reference
roitac <- simref$tacs[[2]]$ROI1
weights <- simref$tacs[[2]]$Weights
fit <- refLogan(t_tac, reftac, roitac, k2prime = 0.1, tstarIncludedFrames = 10, weights = weights)
plot_refLoganfit(fit)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.