gen.downset: The subset that generates an downset

Description Usage Arguments Value See Also Examples

View source: R/gen.downset.R

Description

The function returns the subset that generates the downset Q in the poset described by the incidence matrix z.

Usage

1
gen.downset(z, Q = 1)

Arguments

z

an incidence matrix.

Q

a vector (boolean, numeric that indexes the profiles, or character as the profiles names) to select an downset.

Value

A boolean vector.

See Also

gen.upset

Examples

1
2
3
4
5
6
7
8
lv <- c(2, 3, 2)
prof <- var2prof(varlen = lv)

z <- getzeta(prof)
down <- c("111", "211", "112", "212")
gen <- gen.downset(z, down)

plot(z, lwd = 1 + (rownames(prof$profiles)%in%down), col = 1 + gen, sub = "bold = the downset, red = the subset that generates the downset")

parsec documentation built on May 2, 2019, 6:08 p.m.