Description Usage Arguments Value
View source: R/array_general.R
avgDims
collapses data in array format across specific dimensions by
simple averaging
1 |
dat |
matrix or array to average |
dims |
character vector of dimension names or numeric vector of dimension indices across which averaging should occur. If character vector, dat must have named dimnames. |
na_rm |
logical variable; if TRUE (default), missing values are removed before averaging |
An array (or matrix) with averaged data (the number of dimensions of dat is decreased by the length of dims)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.