powered by
buildRoutingMat(nVec, Cmat)
buildStarMat
nVec <- c(3, 3, 3) Cmat <- diag(3) Cmat[1,2] <- Cmat[2,3] <- 1 buildRoutingMat(nVec, Cmat)
Run the code above in your browser using DataLab