View source: R/permutation_test_class.R
permutation_test | R Documentation |
A permutation test generates a "null" model by randomising the response (for regression models) or group labels (for classification models). This is repeated many times to generate a distribution of performance metrics for the null model. This distribution can then be compared to the performance of the true model. If there is overlap between the true and null model performances then the model is overfitted.
permutation_test(number_of_permutations = 50, factor_name, ...)
number_of_permutations |
(numeric, integer) The number of permutations. The default is |
factor_name |
(character) The name of a sample-meta column to use. |
... |
Additional slots and values passed to |
A permutation_test
object with the following output
slots:
results.permuted | (data.frame) |
results.unpermuted | (data.frame) |
metric | (data.frame) |
A permutation_test
object inherits the following struct
classes:
[permutation_test]
>> [resampler]
>> [iterator]
>> [struct_class]
M = permutation_test(
number_of_permutations = 100,
factor_name = "V1")
I=permutation_test(factor_name='Species')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.