Usage
sig.devn.reparam.asrtests(terms = NULL, asrtests.obj, trend.num = NULL, devn.fac = NULL, denDF = "default", trace = FALSE, update = TRUE, set.terms = NULL, ignore.suffices = TRUE, constraints = "P", initial.values = NA,...)
Arguments
terms
a character string vector giving the terms that are to be reparameterized.
asrtests.obj
an asrtests object for a fitted model that is a list
containing an asreml object, a wald.tab
data.frame with 4 columns, and a data.frame with
5 columns that records any previous changes and tests in the
fitted model. trend.num
A character string giving the name of the numeric covariate that
corresponds to devn.fac and is potentially included in terms
in the fitted model.
devn.fac
A character string giving the name of the factor that corresponds to
trend.num and is included in terms in the fitted model.
denDF
Specifies the enthod to use in computing approximate denominator
degrees of freedom when wald.asreml is called. Can be none
to suppress the computations, numeric for numerical methods,
algebraic for algebraic methods or default, the default,
to autommatically choose numeric or algebraic computations depending
on problem size. The denominator degrees of freedom are calculated
according to Kenward and Roger (1997) for fixed terms in the dense
part of the model.
trace
if TRUE then partial iteration details are displayed when ASReml-R
functions are invoked; if FALSE then no output is displayed.
update
if TRUE then update.asreml is called in removing and
adding terms to the model. In doing this the arguments R.param
and G.param are set to those in the asreml object stored
in the supplied asrtests.obj so that the values from the previous
model are used as starting values. If FALSE then calls are made to
asreml in which the only changes from the previous call are
(i) that the models are updated and (ii) modifications
specified via ... are made.
set.terms
a character vector specifying the terms that are to have
constraints and/or initial values set prior to fitting.
ignore.suffices
a logical vector specifying whether the suffices of the
asreml-assigned names of the variance terms (i.e. the
information to the right of an "!", other than "R!") is to
be ignored in matching elements of terms.
If TRUE for an element of terms, the suffices
are stripped from the asreml-assigned names.
If FALSE for an element of terms, the element
must exactly match an asreml-assigned name for a
variance term. This vector must be of length one or the
same length as terms. If it is of length one then
the same action is applied to the asreml-assigned
suffices for all the terms in terms.
constraints
a character vector specifying the constraints to be applied
to the terms specified in terms. This vector
must be of length one or the same length as terms.
If it is of length one then the same constraint is
applied to all the terms in terms.
If any of the constraints are equal to NA then they are
left unchanged for those terms.
initial.values
a character vector specifying the initial values for
the terms specified in terms. This vector
must be of length one or the same length as terms.
If it is of length one then the same initial value is
applied to all the terms in terms.
If any of the initial.values are equal to NA then they are
left unchanged for those terms.