| df_set_row_by_key | R Documentation |
Set row by key in data frame
df_set_row_by_key(df, key, keyval, list)
df |
a data frame |
key |
name of the column used as key |
keyval |
value of the key for the specified row |
list |
named list of values to set |
The updated data frame
l <- list(id = "1.1", pid = "1", name = "Thermal", work = 11.9, budget = 25001)
df_set_row_by_key(wbs_table, "id", "1.1", l)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.