Skip to contents

Checks for isolated points.

Usage

any_isolated(c)

Arguments

c

A cohesion_matrix object, a matrix of cohesion values (see cohesion_matrix).

Value

Logical, indicating whether any points are isolated.

Examples

d <- data.frame(
  x1 = c(1, 2, 3, 6),
  x2 = c(2, 1, 3, 10)
  )
D <- dist(d)
C <- cohesion_matrix(D)
any_isolated(C)
#> These points have no (strong nor weak) ties: 
#> * 4