get_cluster: Get the ID of the cluster on a distribution matrix

View source: R/get_cluster.R

get_clusterR Documentation

Get the ID of the cluster on a distribution matrix

Description

Get if of clusters given a threshold

Usage

get_cluster(distribution, threshold, alternative = "two.sided", side = "all")

Arguments

distribution

a matrix of the distribution.

threshold

a numeric indicating the threshold.

alternative

A character string indicating the alternative hypothesis. Choose between "two.sided", "greater", "less". Default is "two.sided".

Value

a matrix with integer indicating the id of the clusters


jaromilfrossard/permuco documentation built on July 2, 2022, 10:34 p.m.