residuals {CoGAPS} | R Documentation

## Plot of Residuals

### Description

Plot of Residuals

### Usage

    residuals(AMean_Mat, PMean_Mat, D, S)

### Arguments

`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

### Details

calculate residuals and produce heatmap

### Value

creates a residual plot

### Examples

    data(SimpSim)
    residuals(SimpSim.result$Amean, SimpSim.result$Pmean, SimpSim.D, SimpSim.S)

[Package CoGAPS version 3.0.2 Index]