Summarize: Summarize a data matrix
Description
Helper function to work in conjunction with GetMatrix or similar to obtain a summarized matrix.
Usage
Summarize(mat, summarize.mat)
Value
the summarized matrix
Arguments
- mat
the matrix to summarize
- summarize.mat
the matrix defining how to summarize (see details)
Details
The summarize.mat can be obtained via GetSummarizeMatrix. If there are missing (NA) values in the matrix, they are imputed from the rest (average)