int {SNPassoc} | R Documentation |
Identify interaction term
Description
This is a special function used for 'haplo.interaction' function. It
identifies the variable that will interact with the haplotype estimates.
Using int()
in a formula implies that
the interaction term between this variable and haplotypes is included in 'haplo.glm' function.
Usage
int(x)
Arguments
x |
A factor variable. |
Value
x
See Also
Examples
library(SNPassoc)
library(haplo.stats)
data(SNPs)
datSNP<-setupSNP(SNPs, 6:40, sep = "")
mod <- haplo.interaction(casco~int(sex)+blood.pre, data = datSNP,
SNPs.sel = c("snp10001","snp10004","snp10005"))
[Package SNPassoc version 2.1-0 Index]