View source: R/internal_shuffle_members_options.R
shuffle_members_options | R Documentation |
Applies one of the functions rank, order or sort to the ensemble members.
shuffle_members_options(M, type, ...)
M |
is a matrix where the columns correspond to multivariate forecasts. |
type |
is a string of either 'rank', 'order' or 'sort'. This operation is applied to the rows |
No missing values should be present in M.
This function is used within schaake_shuffle()
and ecc()
.
a matrix where the ensemble members in M have been altered according to the function
Kate Saunders and Kirien Whan
M = matrix(c(2,3,1, 5,6,7), nrow = 2, byrow = TRUE)
shuffle_members(M, 'rank')
shuffle_members(M, 'order')
shuffle_members(M, 'sort')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.