Description Usage Arguments Value See Also
View source: R/calculate_mean_matrix.R
Sum over specified Array matrices, possibly weighted.
1 | sum_matrix(arr, index, constants, weights = FALSE)
|
arr |
array to sum over it's 3rd axis. |
index |
index of matrices to sum. default is to sum over all matrices. |
constants |
constants to multiply the matrices before summation. default is 1 for all constants |
weights |
should treat constants as weights (sum of all constants = 1)? default false |
a matrix, built from the (possible weighted) sum of specified matrices
Other sum_arrays:
calculate_mean_matrix()
,
sum_vector()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.