Learn R Programming

PIGE (version 1.1)

LR.cont: Wald test for an adjusted model.

Description

The LR.cont function performs a Wald test for a SNP effect. The function returns the p-value of the Wald test. It is an Internal function used by the permutation.snp function.

Usage

LR.cont(x, formula, data)

Arguments

x

name or numeric vector corresponding to the SNP tested.

formula

an object of class "formula" : a symbolic description of the model to be fitted without the interaction term.

data

a data frame containing the variables in the model.

Value

p-value of the Wald test for a SNP effect.