validate_parents | R Documentation |
check whether the parent/child structure tree structure data is valid (i.e., does every parent refer to an existing internode)
validate_parents(
internode_ids,
parent_ids,
ignore_errors = NA,
parents_are_rows = F,
ignore_base_id = T
)
internode_ids |
vector |
parent_ids |
vector |
ignore_errors |
Boolean vector specifying which rows to ignore errors on. A value of NA means no erros will be ignored. |
parents_are_rows |
If parent_ids are actually row numbers, not id's (common for QSM cyl_files), Default: F |
DETAILS
TRUE if validation passes, FALSE if it fails
## Not run:
if(interactive()){
#EXAMPLE1
}
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.