View source: R/MidP_multinomial_test_1xc.R
MidP_multinomial_test_1xc | R Documentation |
The mid-P multinomial test for multinomial probabilities
Described in Chapter 3 "The 1xc Table and the Multinomial Distribution"
MidP_multinomial_test_1xc(n, pi0)
n |
the observed counts (a 1xc vector, where c is the number of categories) |
pi0 |
given probabilities (a 1xc vector) |
An object of the contingencytables_result class,
basically a subclass of base::list()
. Use the utils::str()
function
to see the specific elements returned.
# Genotype counts for SNP rs 6498169 in RA patients
MidP_multinomial_test_1xc(n = snp6498169$complete$n, pi0 = snp6498169$complete$pi0)
# subset of 10 patients
MidP_multinomial_test_1xc(n = snp6498169$subset$n, pi0 = snp6498169$subset$pi0)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.