NCPgen: Calculates the chi-square distribution with the...

Description Usage Arguments Value Examples

Description

Calculates the chi-square distribution with the non-centrality parameter χ2 in cases and controls.

Usage

1
NCPgen(q, R, K, CaseN, ConN)

Arguments

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).

Value

The chi-squared value (numeric).

Examples

1
NCPgen(1e-05, 2.5, 0.01, 10000, 10000)

stephansanders/wgsPowerTest documentation built on May 4, 2019, 1:23 p.m.