This function takes a list of paths and a choice of statistic (median, mean or max) and returns that statistic for the appropriate center for each path. Each path is an n x d matrix. In use, it is assumed that these will be the randomized paths. It is therefore assumed that they are already of the correct dimensions.
- A list of paths. Each of these is an n x d matrix.
- Allowable values are 'median', 'mean' or 'max'.
This returns a vector of n distances.
1 2 3
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.