Learn R Programming

OpenRepGrid (version 0.1.9)

setConstructAttr: Set the attributes of a construct

Description

Set the attributes of a construct i.e. name, abbreviation, status etc.

Usage

setConstructAttr(x, pos, l.name, r.name, l.preferred, r.preferred, l.emerged, r.emerged)

Arguments

x
repgrid object.
pos
Row number of construct in the grid to be changed
l.name
Name of the left pole (string) (optional).
r.name
Name of the right pole (string) (optional).
l.preferred
Logical. Is the left one the preferred pole? (optional).
r.preferred
Logical. Is the right one the preferred pole? (optional).
l.emerged
Logical. Is the left one the emergent pole? (optional).
r.emerged
Logical. Is the right one the emergent pole? (optional).

Value

repgrid object

See Also

setElementAttr

Examples

Run this code
## Not run: 
# 
#    x <- setConstructAttr(bell2010, 1,
#                  "new left pole", "new right pole")
#    x
# ## End(Not run)

Run the code above in your browser using DataLab