powered by
Construct m vector of a bca from marginal probabilities
mFromMarginal( marg_probs, a = 1e-05, simple = FALSE, min_prob = 0, max_prob = 2 )
vector of probability masses obtained from uniformly sampling the cut
vector of marginal probabilities
=1e-5 probability that the sample is reliable
=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) mFromMarginal(x, simple=FALSE)
Run the code above in your browser using DataLab