swapPoles: Swaps the construct poles.

Description Usage Arguments Details Value Note Author(s) Examples

Description

Swaps the construct poles.

Usage

1
swapPoles(x, pos)

Arguments

x

repgrid object.

pos

Row number of construct whose poles are swapped

Details

Swaps the constructs poles and re-adjusts ratings accordingly.

Value

repgrid object.

Note

Please note that the scale of the rating grid has to be set in order to swap poles. If the scale is unknown no swapping occurs and a warning is issued on the console.

Author(s)

Mark Heckmann

Examples

1
2
3
4
5
6
7
8
## Not run: 

x <- randomGrid()
swapPoles(x, 1)     # swap construct poles of construct
swapPoles(x, 1:2)   # swap construct poles of construct 1 and 2
swapPoles(x)        # swap all construct poles

## End(Not run)

OpenRepGrid documentation built on May 2, 2019, 4:54 p.m.