sum_3d_scale | R Documentation |
For a 3d matrix M with dimension n*k*k, sum over dimension (2,3) with scale c, at entries selected by index in dimension 1
sum_3d_scale(M, v, index = NULL)
M |
A 3d matrix with dimension n*k*k |
v |
A vector of length n |
index |
a subset of {1,2,...,n} |
A k*k matrix
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.