plotResiduals(LeastSquaresResults,OptimResults,NLINResults)

Plot residuals for each response, using time, group, or prediction as x-axis

Syntax

plotResiduals(resultsObj,type)

Description

plotResiduals(resultsObj,type) plots the residuals for each response, using the time, group, or predictions as the x-axis as specified by the argument type.

Input Arguments

collapse all

Estimation results, specified as an OptimResults object, NLINResults object, or a vector of results object which contains estimation results returned by sbiofit.

X-axis option for the residual plot, specified as a character vector or string that must be one of the following: 'Time', 'Group', or 'Predictions'.

Introduced in R2014a