reorder: Invert construct and element order

Description Usage Arguments Examples

Description

Invert construct and element order

Usage

1
2
## S3 method for class 'repgrid'
reorder(x, what = "CE")

Arguments

x

A repgrid object.

what

A string or numeric to indicate if constructs ("C", 1) or elements ("C", 1), or both ("CE", 12) shpuld be reversed.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
 
# invert order of constructs
reorder(boeker, "C")
reorder(boeker, 1)

# invert order of elements
reorder(boeker, "E")
reorder(boeker, 2)

# invert both (default)
reorder(boeker)
reorder(boeker, "CE")
reorder(boeker, 12)

# not reordering
reorder(boeker, NA)

markheckmann/OpenRepGrid documentation built on April 30, 2021, 2:33 a.m.