addElement: Add an element to an existing grid.

Description Usage Arguments Value Author(s) See Also Examples

View source: R/repgrid-basicops.r

Description

Add an element to an existing grid.

Usage

1
2
3
4
5
6
7
8
9
addElement(
  x,
  name = NA,
  scores = NA,
  abbreviation = NA,
  status = NA,
  position = NA,
  side = "pre"
)

Arguments

x

repgrid object.

name

Name of the new element (character string).

scores

Numerical ratings for the new element column (length must match number of constructs in the grid).

abbreviation

Abbreviation for element name.

status

Element status (not yet in use).

position

An integer at which column the element will be added. TODO: Does not work properly yet.

side

Not yet in use.

Value

repgrid object

Author(s)

Mark Heckmann

See Also

addConstruct

Examples

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

   bell2010      
   addElement(bell2010, "new element", c(1,2,5,4,3,6,5,2,7))


## End(Not run)

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