newfit.asreml {asreml3Plus} | R Documentation |
update.asreml
or a direct call to asreml
.Extracts the call from the asreml.obj
and
evaluates that call, replacing any arguments with changed values.
If update
is TRUE
and set.terms
is not set,
the call is evaluated using update.asreml
; otherwise,
it is evaluated using a direct call to asreml
.
The principal difference is that the latter does not enforce the
use of previous values of the variance parameters as initial
values; it sets G.param
and R.param
to NULL
or to values as specified for set.terms
.
The ...
argument can be used to pass G.param
and/or R.param
, provided update
is FALSE
and set.terms
is not set.
newfit.asreml(asreml.obj, fixed., random., sparse., rcov., update = TRUE, allow.unconverged = TRUE, keep.order = TRUE, set.terms = NULL, ignore.suffices = TRUE, constraints = "P", initial.values = NA, ...)
asreml.obj |
a valid |
fixed. |
a character or formula specifying changes to the fixed
formula. This is a two-sided formula
where "." is substituted for existing components in the
fixed component of |
random. |
a character or formula specifying changes to the random
formula. This is a one-sided formula
where "." is substituted for existing components in the
random component of |
sparse. |
a character or formula specifying changes to the sparse
formula. This is a one-sided formula
where "." is substituted for existing components in the
sparse component of |
rcov. |
a character or formula specifying changes to the error
formula. This is a one-sided formula
where "." is substituted for existing components in the
rcov component of |
update |
a logical indicated whether to use |
allow.unconverged |
A |
keep.order |
a logical value indicating whether the terms should keep
their positions. If |
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
|
constraints |
a character vector specifying the constraints to be applied
to the terms specified in |
initial.values |
a character vector specifying the initial values for
the terms specified in |
... |
additional arguments to the call, or arguments with changed values. |
An asreml
object.
Butler, D. G., et al. (2010). Analysis of Mixed Models for S language environments: ASReml-R reference manual. Brisbane, DPI Publications.
update.asreml
, setvarianceterms.asreml
## Not run: m2.asreml <- newfit.asreml(m1.asreml, random. = "~ . - Blocks:Plots", maxiter=75) ## End(Not run)