df_set_by_id {rollupTree}R Documentation

Set property by key "id" in data frame

Description

Set property by key "id" in data frame

Usage

df_set_by_id(df, idval, prop, val)

Arguments

df

a data frame

idval

id value for the specified row

prop

column name of the property value to get

val

value to set

Value

updated data frame

Examples

df_set_by_id(wbs_table, "1", "work", 45.6)

[Package rollupTree version 0.3.2 Index]