View source: R/kinfitr_miscfuncs.R
maxpercres | R Documentation |
Function to determine the maximum percentage residual from the fitted value, i.e. the maximum value of a residual as a percentage of its fitted value. This is useful for obtaining estimates of t*.
maxpercres(outputobject)
outputobject |
The output of a kinetic model, including a fit object |
The maximum percentage of the fitted value of a residual in the fit.
Granville J Matheson, mathesong@gmail.com
# Note: Reference region models, and irreversible binding models, should not
# be used for PBR28 - this is just to demonstrate function
data(pbr28)
t_tac <- pbr28$tacs[[2]]$Times / 60
reftac <- pbr28$tacs[[2]]$CBL
roitac <- pbr28$tacs[[2]]$STR
weights <- pbr28$tacs[[2]]$Weights
refloganout <- refLogan(t_tac, reftac, roitac, 0.1, tstarIncludedFrames = 9)
maxpercres(refloganout)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.