Description Usage Arguments Value
View source: R/permutation_matches.R
Takes matches and their Brier scores, and computes permutation Brier scores and the best matches.
1 2 3 4 5 6 7 8 | permutation_matches(
matches_by_sinks,
briers_by_sinks,
x_mat,
n_sinks = 0L,
approximate_by_best = TRUE,
silent = !interactive()
)
|
matches_by_sinks |
List by number of sinks, each a list of match results (a match list), for each weight vector. |
briers_by_sinks |
List by number of sinks, each a vector of Brier results. Basically a number for each match in |
x_mat |
Typical input matrix. |
n_sinks |
Vector of number of sinks. |
approximate_by_best |
Logical, default |
silent |
Whether to suppress message output as it's running. Default |
Returns a list of two lists. The first is vectors of permutation Brier scores (one per match). The second is the best match at each sink value, along with some extra info about that match.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.