Usage
haplo.ccs(formula, data=NULL, ...)
haplo.ccs.fit(y, x, int, geno, inherit.mode, group.rare, rare.freq,
referent, names.x, names.int, ...)
Arguments
formula
a symbolic description of the model to be fit, which
requires specification of an allele matrix and inheritance mode
using 'haplo'. Note that 'additive' is the default inheritance mode
for 'haplo'. Preferences for grouping rare haplotypes a
data
an optional data frame, list, or environment (or object
coercible by 'as.data.frame' to a data frame) containing the
variables in the model. If not found in 'data', the variables are
taken from 'environment(formula)', typically the environm
referent
a character string representing the haplotype to be used
as the referent. The haplotype with the highest estimated population
frequency is the default referent.
...
optional model-fitting arguments to be passed to 'glm'.
y
a vector of observations.
x
the design matrix for environmental covariates.
int
the design matrix for haplotype-environment interaction.
inherit.mode
the inheritance mode specified by 'haplo'.
group.rare
a logical value indicating whether rare haplotypes
should be grouped, specified by 'haplo'.
rare.freq
the population haplotype frequency used to define the
rare haplotypes, specified by 'haplo'.
names.x
the column names of the design matrix for covariates.
names.int
the column names of the design matrix for
haplotype-environment interaction.