# Fixed neighborhood sizes
neighbors_k(k = 50)
neighbors_k(k = c(40, 60, 80, 100, 120))
# Dissimilarity threshold with default bounds
neighbors_diss(threshold = 0.3)
# Dissimilarity threshold with custom bounds
neighbors_diss(threshold = c(0.1, 0.2, 0.3), k_min = 10, k_max = 150)
Run the code above in your browser using DataLab