get_mass_props_and_unc {massProps}R Documentation

Get mass properties and uncertainties for a row in a data frame

Description

get_mass_props_and_unc() is a convenience wrapper that combines the results of get_mass_props() and get_mass_props_unc().

Usage

get_mass_props_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.

id

The id value of the desired row.

Value

A list with the following named elements:

Examples

get_mass_props_and_unc(mp_table, "C.1.2.2.3.1.2.3")


[Package massProps version 0.3.3 Index]