validate_mass_props_table | R Documentation |
validate_mass_props_table()
checks that the names of vertices
in a tree and the id
values of a data frame are identical. It further
applies the checks of validate_mass_props()
to every row of the data
frame corresponding to a leaf vertex of the tree.
validate_mass_props_table()
ensures that the id
column of the table and the vertices
of the tree contain the same identifiers, and that the mass properties of every leaf element
of the table are valid.
validate_mass_props_table(tree, df)
tree |
An 'igraph' tree whose vertices are named as the values of the |
df |
A data frame with (at least) these columns: |
TRUE if valid, stops with an error otherwise
validate_mass_props_table(mp_tree_small, mp_table_small)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.