View source: R/repgrid-basicops.r
addConstruct | R Documentation |
Add a new construct to an existing grid object.
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"
)
x |
|
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. |
repgrid
object.
addElement()
## 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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.