powered by
Reverses relevant MFI subscores
multi_rev(d, var)
data.frame or tibble depending on input
data frame or tibble
numeric vector of indices of columns to reverse
# rep_len(sample(1:5),length.out = 100) |> matrix(ncol=10) |> multi_rev(2:4)
Run the code above in your browser using DataLab