addConstruct: Add a new construct to an existing grid object.

Description Usage Arguments Value Author(s) See Also Examples

Description

Add a new construct to an existing grid object.

Usage

1
2
3
addConstruct(x, l.name=NA, r.name=NA, scores=NA, l.preferred=NA,
    r.preferred=NA, l.emerged=NA, r.emerged=NA,
    position=NA, side="pre")

Arguments

x

repgrid object.

l.name

Name of the left pole (character string).

r.name

Name of the right pole (character string).

scores

Numerical ratings for the new construct row (length must match number of elements in the grid).

l.preferred

Is the left one the preferred pole? (logical).

r.preferred

Is the right one the preferred pole? (logical).

l.emerged

Is the left one the emergent pole? (logical).

r.emerged

Is the right one the emergent pole? (logical).

position

An integer at which row the construct will be added. TODO. Does not work properly.

side

Not yet in use.

Value

repgrid object.

Author(s)

Mark Heckmann

See Also

addElement

Examples

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

# show grid
bell2010                                          
addConstruct(bell2010, "left pole", "pole right", c(3,1,3,2,5,4,6,3,7,1))


## End(Not run)

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