Description Usage Arguments Details Value Examples
check whether the parent/child structure tree structure data is valid (i.e., does every parent refer to an existing internode)
1 2 3 4 5 6 7 | 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
1 2 3 4 5 6 | ## 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.