View source: R/repgrid-basicops.r
setElementAttr | R Documentation |
Set the attributes of an element i.e. name, abbreviation, status etc.
setElementAttr(x, pos, name, abb, status)
x |
|
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). |
repgrid
object
Currently the main purpose is to change element names. Future implementations will allow to set further attributes.
setConstructAttr()
## Not run:
x <- setElementAttr(boeker, 1, "new name") # change name of first element
x
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.