update_mass_props | R Documentation |
update_mass_props()
updates mass properties for a specified target row from
specified source rows in a data frame.
update_mass_props(df, target, sources, override = set_poi_conv_from_target)
df |
A data frame with (at least) these columns: |
target |
The |
sources |
List of |
override |
An override function, called as override(df, target, value). The default override sets the POI sign convention
of a computed aggregate to the |
The updated data frame.
leaves <- names(igraph::neighbors(test_tree, "A.3", mode = "in"))
update_mass_props(test_table, "A.3", leaves)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.