rc_sums: Matrix Row/Col Sums/Means

Description Usage Arguments

Description

Optimized versions of R's rowSums(), colSums(), rowMeans(), and colMeans().

Usage

1
2
3
4
5
6
7
col_sums(x, na.rm = FALSE)

row_sums(x, na.rm = FALSE)

col_means(x, na.rm = FALSE)

row_means(x, na.rm = FALSE)

Arguments

x

A numeric (integer or double) or logical matrix.

na.rm

Should NA values be removed?


wrathematics/mops documentation built on May 28, 2017, 6:27 a.m.