Description Usage Arguments Value Author(s) See Also Examples
This function is wrapper to shuffle elegantly data-set. This function shuffle selected columns of a given data.set according to a defined shuffling algorithm.
| 1 | randomise_data(data,variable,method)
 | 
| data |  a  | 
| variable | the variables names or columns id you want to shuffle | 
| method | the randomisation method (only 'full_rand' available yet) | 
a data.frame with selected columns shuffled compared to the original table.
Damien Georges
variables_importance, full_suffling
| 1 2 | xx <- data.frame(a=1:10,b=11:20,c=21:30)
randomise_data(data=xx, variable='b', method='full_rand')
 | 
Loading required package: sp
Loading required package: raster
Loading required package: parallel
Loading required package: reshape
Loading required package: ggplot2
biomod2 3.3-7.1 loaded.
Type browseVignettes(package='biomod2') to access directly biomod2 vignettes.
    a  b  c
1   1 14 21
2   2 16 22
3   3 13 23
4   4 20 24
5   5 11 25
6   6 17 26
7   7 12 27
8   8 19 28
9   9 15 29
10 10 18 30
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.