setElementAttr: Set the attributes of an element

Description Usage Arguments Value Note Author(s) See Also Examples

View source: R/repgrid-basicops.r

Description

Set the attributes of an element i.e. name, abbreviation, status etc.

Usage

1
setElementAttr(x, pos, name, abb, status)

Arguments

x

repgrid object.

pos

Column number of element in the grid whose attributes are changed.

name

New element name (optional).

abb

Abbreviation of element name (optional).

status

Status of element (e.g. ideal etc.) (optional).

Value

repgrid object

Note

Currently the main purpose is to change element names. Future implementations will allow to set further attributes.

Author(s)

Mark Heckmann

See Also

setConstructAttr

Examples

1
2
3
4
5
6
## Not run: 
   
   x <- setElementAttr(boeker, 1, "new name")   # change name of first element
   x

## End(Not run)

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