Counts the number of features
Returns the number of non-NA features in a features by sample matrix.
colCounts(x, ...)
x |
A |
... |
Currently ignored. |
A numeric
vector of length identical to ncol(x)
.
Laurent Gatto
Other Quantitative feature aggregation:
aggregate_by_vector()
,
medianPolish()
,
robustSummary()
m <- matrix(c(1, NA, 2, 3, NA, NA, 4, 5, 6), nrow = 3) colCounts(m) m <- matrix(rnorm(30), nrow = 3) colCounts(m)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.