rowBlockSum {SNSequate} | R Documentation |
Take a matrix and sum blocks of rows
Description
This function implements a method to sum blocks of rows in a matrix
Usage
rowBlockSum(mat, blocksize, w = NULL)
Arguments
mat |
Input matrix |
blocksize |
Size of the row blocks |
w |
(Optional) Vector for weighted sum |
Details
The original data set contains very long column headers. This function does a keyword search over the headers to find those column headers that match a particular keyword, e.g., mean, median, etc.
Value
A matrix.
Author(s)
Daniel Acuna Leon. dnacuna@uc.cl
[Package SNSequate version 1.3-5 Index]