get_mass_props_unc: Get mass properties uncertainties for a row in a data frame

View source: R/massprops.R

get_mass_props_uncR Documentation

Get mass properties uncertainties for a row in a data frame

Description

get_mass_props_unc() creates a mass properties uncertainties list from a selected row in a data frame.

Usage

get_mass_props_unc(df, id)

Arguments

df

A data frame with (at least) these columns: id, sigma_mass, sigma_Cx, sigma_Cy, sigma_Cz, sigma_Ixx, sigma_Iyy, sigma_Izz, sigma_Ixy, sigma_Ixz, sigma_Iyz.

id

The id value of the desired row.

Value

A list with the following named elements:

  • sigma_mass Numeric mass uncertainty.

  • sigma_center_mass Numeric 3-vector center of mass uncertainties.

  • sigma_inertia Numeric 3x3 matrix inertia tensor uncertainties.

Examples

get_mass_props_unc(mp_table, "C.1.2.2.3.1.2.3")


massProps documentation built on April 4, 2025, 1:45 a.m.