Description Usage Arguments Details Value Examples
This is the C++ function that is called by Bonferroni_m
.
1 | adjust_R_Rcpp_short_binomial(mat, prob)
|
mat |
matrix with 3 columns (unadjusted number of shared visits, number of visits of the first member, number of visits of the second member) |
prob |
probability of sharing a single visit, default 1/75 |
written in C++
a vector of probabilities to share the given number of visits for each pair
1 2 3 4 5 6 | visits <- data.frame(Freq = c(1,1,1,2,3),
N_visits.x = c(46,39,10,40,55),
N_visits.y = c(68,68,68,24,24))
mat <- as.matrix(visits)
Bonferroni_mat <- adjust_R_Rcpp_short_binomial(mat, prob=1/75)
Bonferroni_mat
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.