Learn R Programming

permuco (version 1.1.1)

get_cluster: 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