data set shuffling tool

Description

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.

Usage

1
randomise_data(data,variable,method)

Arguments

data

a data.frame you want to shuffle

variable

the variables names or columns id you want to shuffle

method

the randomisation method (only 'full_rand' available yet)

Value

a data.frame with selected columns shuffled compared to the original table.

Author(s)

Damien Georges

See Also

variables_importance, full_suffling

Examples

1
2
xx <- data.frame(a=1:10,b=11:20,c=21:30)
randomise_data(data=xx, variable='b', method='full_rand')

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.