col_stats: Get an specific matrix columns statistics.
Description
Get an specific matrix columns statistics.
Usage
col_stats(x, stats, allow_na)
Value
Numeric vector with one value per matrix column
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_