% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/class-CogapsResult.R, R/methods-CogapsResult.R
\title{plot of residuals}
plotResiduals(object, data, uncertainty = NULL)

\S4method{plotResiduals}{CogapsResult}(object, data, uncertainty = NULL)
\item{object}{an object of type CogapsResult}

\item{data}{original data matrix run through GAPS}

\item{uncertainty}{original standard deviation matrix run through GAPS}
creates a residual plot
calculate residuals and produce heatmap
result <- CoGAPS(SimpSim.data)
plotResiduals(result, SimpSim.data)