Package 'complexity'

Title: Calculate the Proportion of Permutations in Line with an Informative Hypothesis
Description: Allows for the easy computation of complexity: the proportion of the parameter space in line with the hypothesis by chance. The package comes with a Shiny application in which the calculations can be conducted as well.
Authors: M. A. J. Zondervan-Zwijnenburg
Maintainer: M. A. J. Zondervan-Zwijnenburg <[email protected]>
License: GPL (>= 2)
Version: 1.1.2
Built: 2024-12-17 06:46:38 UTC
Source: CRAN

Help Index


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)

function to launch Shiny application for complexity function

Description

Launches a Shiny application for the complexity function.

Usage

runShiny()

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