complexity {complexity}R Documentation

Complexity

Description

Calculates the complexity for the hypothesis of interest.

Usage

complexity(npar,...)

Arguments

npar

a value indicating the number of parameters

...

an unlimited amount of pairs of parameter indicators that represent constraints, where the first parameter indicator is constrained to be lower than the second parameter indicator.

Value

A print of the following:

true permutations

a print of the permutations in line with the constraints

total number of permutations

the total number of permutations

number true

the number of true permutations

complexity (proportion)

the complexity, that is: the proportion of true permutations

Examples

complexity(4,1,2,2,3,3,4)

[Package complexity version 1.1.2 Index]