prob_each_superior_all | R Documentation |
Probability that each column in mat is superior to all other columns.
prob_each_superior_all(mat, delta = 0)
mat |
A matrix of samples |
delta |
The minimal effect bound |
A vector of probabilities that each dimension is maximum
# Superiority
prob_each_superior_all(matrix(rnorm(1e4, 1:10), 1000, 10, byrow = T), 0.5)
# Non-inferiority
prob_each_superior_all(matrix(rnorm(1e4, 1:10), 1000, 10, byrow = T), -0.5)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.