Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

makePermSpaceID

Constructs Row Indices Permutation Space


Description

Constructs the permutation space of row indices depending on the type of analysis

Usage

.makePermSpaceID(nObs, analysisType, strata, seed,
    nPerms)

Arguments

nObs

integer total number of observations

analysisType

character type of the analysis to be performed

strata

character vector or factor containing the covarite used for stratification; if analysisType is "strata" then this parameter is provided

seed

optional integer seed for the RNG

nPerms

integer number of permutations to be performed

Value

either a matrix in the case of "simple" analysisType or a 3-ways array, containing the permuted row indices

Author(s)

Federico Mattiello <federico.mattiello@gmail.com>


SOUP

Stochastic Ordering Using Permutations (and Pairwise Comparisons)

v1.1
GPL (>= 2)
Authors
Federico Mattiello [aut, cre]
Initial release
2015-04-03

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.