rollup_mass_props_unc | R Documentation |
rollup_mass_props_unc()
rolls up mass properties uncertainties in a data frame such that the uncertainties of each
non-leaf vertex element is the aggregation of the mass properties and uncertainties of its child elements.
The difference between rollup_mass_props_unc()
and rollup_mass_props_and_unc()
is that rollup_mass_props_unc()
expects the mass properties in its input to have been rolled up, whereas rollup_mass_props_and_unc()
performs
the mass properties rollup itself.
rollup_mass_props_unc(
tree,
df,
validate_df = validate_mass_props_and_unc_table,
...
)
tree |
An 'igraph' tree whose vertices are named as the values of the |
df |
A data frame with (at least) these columns: |
validate_df |
A validator for the tree and table, default |
... |
Other parameters passed to |
The updated data frame
mp_ru <- rollup_mass_props(mp_tree_small, mp_table_small)
rollup_mass_props_unc(mp_tree_small, mp_ru)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.