makePermSpaceID: Constructs Row Indices Permutation Space

Description Usage Arguments Value Author(s)

Description

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

Usage

1
2
  .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 documentation built on May 2, 2019, 8:18 a.m.

Related to makePermSpaceID in SOUP...