Get Neighbor algorithm index

Index(object, ...)

Index(object, ...) <- value

# S3 method for Neighbor
Index(object, ...)

# S3 method for Neighbor
Index(object, ...) <- value

Arguments

object

An object

...

Arguments passed to other methods

value

The index to store

Value

Returns the value in the alg.idx slot of the Neighbor object

Idents<-: A Neighbor object with the index stored