View source: R/class-general.R
setAttributeColumn | R Documentation |
Add an attribute to an object where the attribute is added as a name to the names of the object.
setAttributeColumn(
object,
attr_name,
col_or_value,
col_name,
default_value,
stop_if_default,
warn_if_default,
message_if_default
)
object |
The object to set the attribute column on. |
attr_name |
The attribute name to set |
col_or_value |
If this exists as a column in the data, it is used as the
|
col_name |
The name of the column within the dataset to use (if missing,
uses |
default_value |
The value to fill in the column if the column does not
exist (the column is filled with |
stop_if_default , warn_if_default , message_if_default |
A character string
to provide as an error, a warning, or a message to the user if the
|
The object with the attribute column added to the data.
getAttributeColumn()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.