Description Usage Arguments Value Examples
View source: R/logistic_mle_function.R
Finds the maximum likelihood estimates for a given 2x3 table under the specified genetic model.
1 | logistic.mles(t, model)
|
t |
A 2x3 table of the joint probabilities of disease and genotype. Rows are case vs. control and columns are genotypes. |
model |
The assumed genetic model(s) used in testing: 'Dominant', 'Additive', 'Recessive' |
A vector of logistic regression model coefficients.
1 2 | logistic.mles(rbind(c(0.2967437, 0.1806723, 0.02258404),
c(0.3432563, 0.1393277, 0.01741596)), "Dominant")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.