Learn R Programming

OpenRepGrid (version 0.1.17)

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
)

Value

repgrid object

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).

See Also

setElementAttr()

Examples

Run this code
if (FALSE) {

x <- setConstructAttr(
  bell2010, 1,
  "new left pole", "new right pole"
)
x
}

Run the code above in your browser using DataLab