colsums {float} | R Documentation |
Row and columns sums/means.
## S4 method for signature 'float32' colSums(x, na.rm = FALSE, dims = 1) ## S4 method for signature 'float32' rowSums(x, na.rm = FALSE, dims = 1) ## S4 method for signature 'float32' colMeans(x, na.rm = FALSE, dims = 1) ## S4 method for signature 'float32' rowMeans(x, na.rm = FALSE, dims = 1)
x |
A float vector/matrix. |
na.rm |
Should missing values be removed? |
dims |
Ignored. Be honest, you've never even used this argument before, have you? |
A matrix of the same type as the highest precision input.
library(float) s = flrunif(5, 3) rowSums(s) colSums(s)