Description Usage Arguments Value Examples
Calculates the chi-square distribution with the non-centrality parameter χ2 in cases and controls.
1 |
q |
Allele frequency (numeric, 0-1). |
R |
Relative Risk (numeric). |
K |
Prevalence of the disorder (numeric, 0-1). |
CaseN |
Number of cases (integer). |
ConN |
Number of controls (integer). |
The chi-squared value (numeric).
1 | NCPgen(1e-05, 2.5, 0.01, 10000, 10000)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.