Description Usage Arguments Details Value
Add a new column to a data frame of gradient color based on a specific column of the data frame
1 |
df |
a data frame |
col.att |
an integer indicating the column with which to create the gradient |
color |
a character vector of length two indicating the starting point of the gradient and the ending point of the gradiant |
new.col.name |
a string indicating the gradient column name added to argument df |
argument df with an additional column corresponding to the gradient column based on argument att.
a data frame.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.