A fast sequential analysis of variance (ANOVA). Mainly
developed for internal use.
Usage
fast.anova(x, y, assign = NULL, family = gaussian(), test = c("LRT", "F"))
Arguments
x
Design matrix of dimension n * p.
y
Response vector of observations of length n.
assign
Integer vector assigning columns to terms can be also given as
x attribute in which case the argument is ignored. If an intercept
exist it is expected to be the first column in x and it has to
be specified by a '0' in tis vector. For details about assign see
model.matrix.
family
A description of the error distribution and link function to
be used in the model. For glm this can be a character string naming a family
function or the result of a call to a family function. (See
family for details of family functions.)
test
The name of the test either "LRT" (default) for likelihood ratio
test or "F" for F test.