get_mass_props_and_unc_and_radii_and_unc {massProps}R Documentation

Get mass properties and uncertainties and radii of gyration and uncertainties

Description

get_mass_props_and_unc_and_radii_and_unc() creates a mass properties and uncertainties and radii of gyration and uncertainties list from a selected row in a data frame.

Usage

get_mass_props_and_unc_and_radii_and_unc(df, id)

Arguments

df

A data frame with (at least) these columns: id, mass, Cx, Cy, Cz, Ixx, Iyy, Izz, Ixy, Ixz, Iyz, POIconv, Ipoint, sigma_mass, sigma_Cx, sigma_Cy, sigma_Cz,sigma_Ixy, sigma_Ixz, sigma_Iyz, kx, ky, kz, sigma_kx, sigma_ky, sigma_kz.

id

The id value of the desired row.

Value

A list with the following named elements:

Examples

mp_table_small_rollup <- rollup_mass_props_and_unc(mp_tree_small, mp_table_small)
radii_and_unc_table <- rollup_radii_of_gyration_unc(
                          mp_tree_small, add_radii_of_gyration(mp_table_small_rollup))
get_mass_props_and_unc_and_radii_and_unc(radii_and_unc_table, "C.1")


[Package massProps version 0.3.3 Index]