Learn R Programming

SNPassoc (version 1.9-2)

int: 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

haplo.interaction

Examples

Run this code
# NOT RUN {
# Not Run
# data(SNPs)
# mod <- haplo.interaction(casco~int(sex)+blood.pre, data=SNPs,
# SNPs.sel=c("snp10001","snp10004","snp10005"))
#
# }

Run the code above in your browser using DataLab