colMeans

colMeans

AGGREGATIONS

1 Usage

colMeans(x, na.rm = FALSE, dims = 1L, ...)

2 Value

A numeric vector (when ) or an handle to the persisted result.

3 Examples

\donttest{
tmp <- tempfile(fileext = ".h5")
X <- hdf5_create_matrix(tmp, "data/M", data = matrix(rnorm(200), 20, 10))
cm <- colMeans(X)
hdf5_close_all()
unlink(tmp)
}