Form Row Sums and Means
Form row sums and means for numeric arrays.
RowSums (x, ...) RowMeans(x, ...) ## Default S3 method: RowSums(x, ...) ## Default S3 method: RowMeans(x, ...) ## S3 method for class 'tis' RowSums(x, ...) ## S3 method for class 'tis' RowMeans(x, ...)
x |
an array of two or more dimensions, containing numeric,
complex, integer or logical values, or a numeric data frame, or a
|
... |
arguments passed along to |
The tis
-specific methods return a tis
.
mat <- tis(matrix(1:36, ncol = 3), start = latestJanuary()) cbind(mat, rowSums(mat), rowMeans(mat))
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.