View source: R/muargus_compatibility_functions.R
argus_rankswap | R Documentation |
argus_rankswap
argus_rankswap(df, perc)
df |
a |
perc |
a number defining the swapping percantage |
a list
with two elements
original: the originally provided input data
swapped: the data.frame
containing the swapped values
mu-Argus manual at https://github.com/sdcTools/manuals/raw/master/mu-argus/MUmanual5.1.pdf
mat <- matrix(sample(1:100, 50, replace=TRUE), nrow=10, ncol=5)
df <- as.data.frame(mat)
res <- argus_rankswap(df, perc=10)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.