add_radii_of_gyration {massProps} | R Documentation |
Add radii of gyration
Description
add_radii_of_gyration()
adds calculated radii of gyration to a data frame
of rolled-up mass properties.
Radii of gyration are calculated directly from moments of inertia and mass; they are not recursively-defined, and do not require a rollup method.
Usage
add_radii_of_gyration(df)
Arguments
df |
A data frame with (at least) these columns: |
Value
A data frame with the same columns as df
, plus
radii of gyration in columns kx
, ky
, and kz
.'
Examples
test_table_rollup <- rollup_mass_props(test_tree, test_table)
add_radii_of_gyration(test_table_rollup)
[Package massProps version 0.3.3 Index]