residuals {CoGAPS} | R Documentation |
Plot of Residuals
residuals(AMean_Mat, PMean_Mat, D, S)
AMean_Mat |
matrix of mean values for A from GAPS |
PMean_Mat |
matrix of mean values for P from GAPS |
D |
original data matrix run through GAPS |
S |
original standard deviation matrix run through GAPS |
calculate residuals and produce heatmap
creates a residual plot
data(SimpSim) residuals(SimpSim.result$Amean, SimpSim.result$Pmean, SimpSim.D, SimpSim.S)