Learn R Programming

OpenRepGrid (version 0.1.12)

setElementAttr: 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

See Also

setConstructAttr

Examples

Run this code
# NOT RUN {
   
   x <- setElementAttr(boeker, 1, "new name")   # change name of first element
   x
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab