col_stats: Get an specific matrix columns statistics.

View source: R/aux_col_stats.R

col_statsR 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


hydrotoolbox documentation built on April 14, 2023, 12:34 a.m.