R/getzeta.wprof.R

Defines functions getzeta.wprof

Documented in getzeta.wprof

getzeta.wprof <-
function(y) {
    y <- y$profiles
    m <- nrow(y)
    nam <- rownames(y)
    res <- matrix(NA, m, m, dimnames=list(nam, nam))
    for(a in 1:m) for(b in 1:m)
        res[a, b] <- all(y[a,]<=y[b,])
    class(res) <- "incidence"
    return(res)
}

Try the parsec package in your browser

Any scripts or data that you put into this service are public.

parsec documentation built on Aug. 19, 2023, 5:07 p.m.