col_stats {hydrotoolbox} | R Documentation |
Get an specific matrix columns statistics.
Description
Get an specific matrix columns statistics.
Usage
col_stats(x, stats, allow_na)
Arguments
x |
numeric matrix |
stats |
string vector with the statistics to compute (sum, max, min, mean, first or last) |
allow_na |
number of allowed NA_real_ |
Value
Numeric vector with one value per matrix column
[Package hydrotoolbox version 1.1.2 Index]