wmw_uni: Index for the UNP scan procedure

View source: R/wmw_uni.R

wmw_uniR Documentation

Index for the UNP scan procedure

Description

This function returns the index we want to maximize on the set of potential clusters, for each potential cluster, and each permutation

Usage

wmw_uni(rank_data, matrix_clusters)

Arguments

rank_data

matrix. Matrix of the ranks of the data for all permutations. Each column corresponds to a permutation and each row corresponds to a site or an individual.

matrix_clusters

numeric matrix. Matrix in which each column represents a potential cluster. It is the result of the "clusters" function.

Value

numeric matrix.


HDSpatialScan documentation built on May 31, 2023, 7:52 p.m.