R/triMat.R

Defines functions triMat

Documented in triMat

triMat <- function(object){
    tl <- triang.list(object)
    vl <- lapply(tl,function(x){x[,"ptNum"]})
    vl <- lapply(vl,sort)
    tm <- matrix(unlist(vl),byrow=TRUE,ncol=3)
    return(tm[order(tm[,1]),])
}

Try the deldir package in your browser

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

deldir documentation built on Nov. 23, 2023, 9:09 a.m.