rowSums_colSums: Form Row and Column Sums

rowSums_colSumsR Documentation

Form Row and Column Sums

Description

Form Row and Column Sums

Usage

rowSums_(x)

colSums_(x)

Arguments

x

Symbolic matrix

Examples

if (has_sympy()) {
  X <- matrix_(paste0("x_",c(1,1,1,1,2,2,2,2,3,4,3,4)), nrow=4)
  rowSums_(X)
  colSums_(X)
}


r-cas/caracas documentation built on Feb. 28, 2025, 3:39 p.m.