LE2incidence: Computes the incidence matrices of lexicographic linear extensions of a profile poset.
Description
The function generates the incidence matrices of the lexicographic linear extensions of a profile poset, given the variables (argument varmod or varlen) and a list of complete orders on them (argument lst).
an object of S3 class incidence or a list of objects of S3 class incidence.
Arguments
lst
a vector of characters, or a list of specifies the names of the variables in increasing order. See details.
varmod
list of variables and their grades. See details.
varlen
a vector with the number of grades of each variable. See details.
Author
Alberto Arcagni
Details
Argument lst is a list of chracter vectors. Each vector lists variable names in increasing order.
List varmod and vector varlen must be named so as to identify the variables they refer to. Profiles are generated as combinations of the variables' grades. The names of the profiles are the grades of the variables concatenated, after the variables order in varmod/varlen. See var2prof for more details about these arguments.