colSums | R Documentation |
Method extending to dual matrices the corresponding methods for dual matrices.
rowSums.dual(x, na.rm = FALSE, dims = 1, ...)
## S4 method for signature 'dual'
rowSums(x, na.rm = FALSE, dims = 1, ...)
colSums.dual(x, na.rm = FALSE, dims = 1, ...)
## S4 method for signature 'dual'
colSums(x, na.rm = FALSE, dims = 1, ...)
rowMeans.dual(x, na.rm = FALSE, dims = 1, ...)
## S4 method for signature 'dual'
rowMeans(x, na.rm = FALSE, dims = 1, ...)
colMeans.dual(x, na.rm = FALSE, dims = 1, ...)
## S4 method for signature 'dual'
colMeans(x, na.rm = FALSE, dims = 1, ...)
x |
a dual matrix or array |
na.rm |
if 'TRUE', missing values are removed |
dims |
which dimensions are regarded as rows and cols |
... |
extra parameters (ignored) |
a dual object (usually a dual vector).
x <- dual( c(1,2) )
x <- cbind(x, 2*x+1)
rowSums(x)
d(rowSums(x), "x1")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.