A utility function for calculating the p values.

.SimulatedVarPValue(permutedVar, pValue)

Arguments

permutedVar

An array containing the distance of clusters for each model for every permutation.

pValue

Cut off p vlaue.

Value

p-values for each model.