rescale_factor_4.Rd
Rescale a 4-element ordinary scale variable
rescale_factor_4( x, factor_4_highest = 3, factor_4_high = 2, factor_4_low = 1, factor_4_lowest = 0 )
x | A variable from the data set with four-level, ordinary scale variable. |
---|---|
factor_4_highest | Defaults to |
factor_4_high | = Defaults to |
factor_4_low | = Defaults to |
factor_4_lowest | = Defaults to |
Depending on the rescaling inputs, a numeric or character vector.
x = c("fairly easy", "very easy", "very easy", "not at all easy", "not very easy") rescale_factor_4(x, factor_4_highest = 'highest', factor_4_high = 'high', factor_4_low = 'low', factor_4_lowest = 'lowest' )#> [1] "high" "highest" "highest" "lowest" "highest"