powered by
Construct tt matrix of a bca from marginal probabilities
ttmatrixFromMarginal( marg_probs, from_above = FALSE, simple = FALSE, min_prob = 0, max_prob = 2 )
matrix of possible subsets obtained from the cuts
marginal probabilities
=TRUE whether to cut marginal probabilities from above
=TRUE whether to use simple support function
=0 lower bound on marginal probabilities
=2 upper bound on marginal probabilities
Peiyuan Zhu
x <- c(2,2,1.5,1.2,1,0,0) ttmatrixFromMarginal(x, FALSE)
Run the code above in your browser using DataLab