grid_to_uni: Convert Grid Value to Likert-type Value

View source: R/GridProcessing.R

grid_to_uniR Documentation

Convert Grid Value to Likert-type Value

Description

Converts a grid cell's position to a score equivalent to a Likert-type scale point.

Usage

grid_to_uni(
  gc,
  rows = 5,
  cols = 5,
  b = (uni.min - uni.max)/16,
  uni.min = 1,
  uni.max = 9,
  rc = FALSE,
  classify_response = FALSE
)

Arguments

gc

integer indicating a grid cell's position as though the grid were a matrix filled by row with sequential integers.

rows, cols

the dimensions of the grid item.

b

a parameter between -1 and 0, default is a value satisfying Audrezet's (2016) six constraints.

uni.min, uni.max

integers specifying the minimum and maximum value for the unidimensional (Likert-type) mapping. Default is a 9-point scale.

rc

logical. If TRUE the function will correct for a reverse-coded grid item.

classify_response

Logical indicating if Positive (P), Negative (N), Indifferent (I), or Ambivalent (A) should be returned instead of a numeric value computed with S(i,j). Default is FALSE.

Value

A number derived from a grid cell's position and transformed to be equivalent to a value on a 9 point Likert-type scale.


douglaswhitaker/GridItemTools documentation built on Aug. 2, 2022, 4:32 a.m.