Learn R Programming

OpenRepGrid (version 0.1.9)

setScale: Set the scale range of a grid.

Description

The scale must be known for certain operations, e.g. to swap the construct poles. If the user construes a grid he should make sure that the scale range is set correctly.

Usage

setScale(x, min, max, step, ...)

Arguments

x
repgrid object.
min
Minimal possible scale value for ratings.
max
Maximal possible scale value for ratings.
step
Steps the scales uses (not yet in use).
...
Not evaluated.

Value

repgrid object

Examples

Run this code
## Not run: 
# 
#    x <- bell2010
#    x <- setScale(x, 0, 8)   # not set correctly
#    x
#    x <- setScale(x, 1, 7)   # set correctly
#    x
# ## End(Not run)

Run the code above in your browser using DataLab