tadaatoolbox (version 0.16.1)

inv: Inverting scales

Description

Inverting scales

Usage

inv(x, min, max)

Arguments

x

A vector of numeric data.

min

The minimum value of the scale.

max

The maximum value of the scale.

Examples

Run this code
# NOT RUN {
# Assuming you have a Likert-scale from 1 to 9
x <- c(4, 5, 2, 3, 7, 8, 3)
inv(x, 1, 9)
# }

Run the code above in your browser using DataCamp Workspace