setElementAttr: Set the attributes of an element

View source: R/repgrid-basicops.r

setElementAttrR Documentation

Set the attributes of an element

Description

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

Usage

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.

See Also

setConstructAttr()

Examples

## Not run: 

x <- setElementAttr(boeker, 1, "new name") # change name of first element
x

## End(Not run)


markheckmann/OpenRepGrid documentation built on April 14, 2024, 8:15 a.m.