Description Usage Arguments Details Examples
Take the mean along a chosen dimension of an arbitrarily dimensioned array.
1 |
x |
An n dimensional array |
along |
the dimension of x to sum along |
# The method of the source code came from Hadley Wickham: # https://stackoverflow.com/questions/14500707/select-along-one-of-n-dimensions-in-array
This function returns an n - 1 dimensional array that is the result of the mean along the along dimension.
1 2 3 4 5 6 7 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.