| is_dendritic | R Documentation |
Checks whether the network contains any divergences.
Returns FALSE if a divergence column exists with any
value of 2, or if the table has a toid column and duplicated
id values (indicating row duplication from divergences).
Otherwise returns TRUE.
is_dendritic(x, validate_data = TRUE)
x |
data.frame or hy object to test. |
validate_data |
logical. If |
logical. TRUE if the network is dendritic.
x <- sf::read_sf(system.file("extdata/new_hope.gpkg", package = "hydroloom"))
is_dendritic(hy(x))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.