Learn R Programming

mashr (version 0.2.79)

udi_model_matrix: Create a matrix whose rows contain all possible combinations of the U,D,I models that are allowed.

Description

This is an internal (non-exported) function. This help page provides additional documentation mainly intended for developers and expert users.

Usage

udi_model_matrix(R)

Value

a matrix that is Nmodel by R with each row containing a vector of "U", "D" and "I" characters corresponding to a valide model. Constraint is that there is at least one "D" in each row

Arguments

R

the number of conditions