setScale: Set the scale range of a grid.

View source: R/repgrid-basicops.r

setScaleR Documentation

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

## Not run: 

x <- bell2010
x <- setScale(x, 0, 8) # not set correctly
x
x <- setScale(x, 1, 7) # set correctly
x

## End(Not run)


markheckmann/OpenRepGrid documentation built on April 14, 2024, 8:15 a.m.