Does a network have any isolate nodes?

net_has_isolates(.net)

# S3 method for igraph
net_has_isolates(.net)

# S3 method for network
net_has_isolates(.net)

Arguments

.net

network of class igraph or network.

Value

logical scalar

Examples

net_has_isolates(.net = florence_business_ig)
#> [1] TRUE
florence_business_nw %>% net_has_isolates()
#> [1] TRUE