Skip to contents

Reverses relevant MFI subscores

Usage

multi_rev(d, var)

Arguments

d

data frame or tibble

var

numeric vector of indices of columns to reverse

Value

data.frame or tibble depending on input

Examples

# rep_len(sample(1:5),length.out = 100) |> matrix(ncol=10) |> multi_rev(2:4)