combine_mass_props {massProps} | R Documentation |
Combine mass properties
Description
combine_mass_props()
calculates the mass properties of an aggregate from
a list of constituent mass properties.
Usage
combine_mass_props(mpl)
Arguments
mpl |
A list of mass properties lists, each of which contains the following named elements:
|
Details
See vignette("massProps", package = "massProps") for details on the algorithms employed.
Value
Combined mass properties list with the same named elements.
Examples
leaves <- names(igraph::neighbors(test_tree, "A.3", mode = "in"))
mpl <- Map(f = function(id) get_mass_props(test_table, id), leaves)
combine_mass_props(mpl)
[Package massProps version 0.3.3 Index]