is.linext: is.linext

Description Usage Arguments Examples

View source: R/is.linext.R

Description

The function returns a boolean indicating if the argument order is a linear extension of the poset represented by the incidence matrix in argument z.

Usage

1

Arguments

order

ranks to assign to the poset elements (as rows and columns of z matrix) to define a linear order

z

an incidence matrix.

Examples

1
2
3
4
5
Z <- getzeta(var2prof(varlen = c(3, 3)))
ranks <- c(1, 4, 2, 3, 5, 7, 6, 8, 9)
names(ranks) <- rownames(Z)
ranks
is.linext(order = ranks, z = Z)

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