argus_rankswap {sdcMicro}R Documentation

argus_rankswap

Description

argus_rankswap

Usage

argus_rankswap(df, perc)

Arguments

df

a data.frame with only numerical columns

perc

a number defining the swapping percantage

Value

a list with two elements

See Also

mu-Argus manual at https://github.com/sdcTools/manuals/raw/master/mu-argus/MUmanual5.1.pdf

Examples

mat <- matrix(sample(1:100, 50, replace=TRUE), nrow=10, ncol=5)
df <- as.data.frame(mat)
res <- argus_rankswap(df, perc=10)

[Package sdcMicro version 5.7.8 Index]