Implementation of Neighbor Match Test
Arguments
- x
a numeric vector or a list of numeric vectors of equal length.
- k
the number of neighbors to identify in attribute space. Should be the same as number of neighbors provided in st_knn.
- nsim
the number of simulations to run for calculating the simulated p-value.
- scale
default
TRUE
. Whetherx
should be scaled or not. Note that measures should be standardized.- .method
default
"euclidian"
. The distance measure passed tostats::dist()
.- .p
default 2. The power of Minkowski distance passed to the
p
argument instats::dist()
.