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)
}


caracas documentation built on June 22, 2024, 10:59 a.m.