rowSums_colSums {caracas} | R 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)
}
[Package caracas version 2.1.1 Index]