validate_mass_props_unc | R Documentation |
validate_mass_props_unc()
ensures that a mass properties and uncertainties
list satisfies the following constraints:
sigma_mass
is non-missing and non-negative
sigma_center_mass
is a 3-vector of non-missing non-negative values
if point
is FALSE, the sigma_inertia
contains no missing or negative values
validate_mass_props_unc(mp)
mp |
Mass properties and uncertainties list containing the following named elements
|
TRUE if valid, stops otherwise
mp <- get_mass_props_and_unc(sawe_table, "Widget")
validate_mass_props_unc(mp)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.