Validate a mass properties and uncertainties table
Source:R/massprops.R
validate_mass_props_and_unc_table.Rdvalidate_mass_props_and_unc() calls
validate_mass_props_table() and further applies the checks of
validate_mass_props_and_unc() to every row of the data frame corresponding
to a leaf vertex of the tree.
Arguments
- tree
An 'igraph' tree whose vertices are named as the values of the
idcolumn ofdfand whose directed edges point from child id to parent id.- 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_Ixx,sigma_Iyy,sigma_Izz,sigma_Ixy,sigma_Ixz,sigma_Iyz.