- object
An asreml
object from a call to asreml
in which the
data
argument has been set.
- means
The vector
of means to be used in generating simulated data sets. If
it is NULL
, the fitted values based on object
are used.
It must be the same length as the response variable for object
.
- V
The fitted variance matrix
, i.e. having the pattern and values that
conform to the model fit stored in the supplied object
.
- nsim
The number of data sets to be simulated.
- seed
A single value, interpreted as an integer, that specifies the
starting value of the random number generator. The "L'Ecuyer-CMRG" random
generator is used and nextRNGStream
is used to seed each core from the
original seed
.
- tolerance
The value such that eigenvalues less than it are considered to be zero.
- update
If TRUE
then the arguments R.param
and G.param
are set to those in the asreml
object supplied
in object
so that the values from the original model are used as
starting values. If FALSE
then asreml
calls
are
evaluated, the only changes from the previous call being that
(i) the model is fitted to simulated data and (ii) modifications
specified via ...
are mode, except that changes cannot be made to
any of the models.
- trace
If TRUE
then partial iteration details are displayed when ASReml-R
functions are invoked; if FALSE
then no output is displayed.
- which
The quantities from the simulated data set to be stored. Any combination of
"response"
, "residuals"
and "fitted"
, or "all"
.
If residuals
and/or fitted
is specified, those for the
analysis stored in object
will be added to the data.frame
nominated in the data
argument of object
and the modified
data.frame
added as a component named data
in the list
that is the value
returned by the function
.
- units
A character
indicating whether the BLUPs for units
are
added to the residuals when this reserved factor is included in the
random
model. Possible values are addtoresiduals
and
ignore
.
- ncores
A numeric
specifying the number of cores to use in doing the
simulations. In choosing a value for ncores
, it is necessary to
take into account other processes that are using parallel processing at
the same time.
- ...
Other arguments that are passed down to the function asreml. Changes to the
models are not allowed. Other changes are dangerous and generally should be
avoided.