newfit.asreml {asremlPlus}  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.
## S3 method for class 'asreml' newfit(asreml.obj, fixed., random., sparse., residual., rcov., update = TRUE, trace = FALSE, allow.unconverged = TRUE, keep.order = TRUE, set.terms = NULL, ignore.suffices = TRUE, bounds = "P", initial.values = NA, ...)
asreml.obj 
A valid 
fixed. 
A character or formula specifying changes to the fixed
formula. This is a twosided 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 onesided 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 onesided formula
where "." is substituted for existing components in the
sparse component of 
residual. 
A character or formula specifying changes to the error
formula, used when version 4 or later of ASRemlR is loaded.
This is a onesided formula
where "." is substituted for existing components in the
residual component of 
rcov. 
A character or formula specifying changes to the error
formula, used when version 3 of ASRemlR is loaded.
This is a onesided formula
where "." is substituted for existing components in the
residual component of 
update 
A logical indicated whether to use 
trace 
A 
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
bounds and/or initial values set prior to fitting.
The names must match those in the 
ignore.suffices 
A logical vector specifying whether the suffices of the

bounds 
A 
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.
Chris Brien
Butler, D. G., Cullis, B. R., Gilmour, A. R., Gogel, B. J. and Thompson, R. (2018). ASRemlR Reference Manual Version 4. VSN International Ltd, https://asreml.kb.vsni.co.uk/.
update.asreml
, setvarianceterms.call
## Not run: m2.asreml < newfit(m1.asreml, random. = "~ .  Blocks:Plots", maxiter=75) ## End(Not run)