Description Usage Arguments Value Examples
Treat permutation re-samples as similar to bootstrap replications.
1 2 3 4 5 6 7 8 9 10 | permutationScoreModel(
modelValues,
yValues,
scoreFn,
...,
na.rm = FALSE,
returnScores = FALSE,
nRep = 100,
parallelCluster = NULL
)
|
modelValues |
numeric array of predictions. |
yValues |
numeric/logical array of outcomes, dependent, or truth values |
scoreFn |
function with signature scoreFn(modelValues,yValues) returning scalar numeric score. |
... |
not used, forces later arguments to be bound by name |
na.rm |
logical, if TRUE remove NA values |
returnScores |
logical if TRUE return detailed permutedScores |
nRep |
integer number of repititions to perform |
parallelCluster |
optional snow-style parallel cluster. |
summaries
1 2 3 4 5 6 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.