powered by
argus_rankswap
argus_rankswap(df, perc)
a data.frame with only numerical columns
data.frame
a number defining the swapping percantage
a list with two elements
list
original: the originally provided input data
swapped: the data.frame containing the swapped values
mu-Argus manual at http://neon.vb.cbs.nl/casc/Software/MUmanual5.1.pdf
# NOT RUN { mat <- matrix(sample(1:100, 50, replace=TRUE), nrow=10, ncol=5) df <- as.data.frame(mat) res <- argus_rankswap(df, perc=10) # }
Run the code above in your browser using DataLab