| .attr_setcolumn | R Documentation |
Set an attribute value on selected columns of a data frame
.attr_setcolumn(x, cols, attr_name, attr_value)
x |
A data frame containing the columns to modify. |
cols |
A tidyselect expression specifying which columns to modify
(e.g., |
attr_name |
A character string giving the name of the attribute to set. |
attr_value |
The value to assign to the attribute for all selected columns. |
The data frame with the modified column attributes.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.