- object
An object of class emmGrid
- transform
Character, list, or logical value. If "response"
,
"mu"
, or TRUE
, the inverse transformation is applied to the
estimates in the grid (but if there is both a link function and a response
transformation, "mu"
back-transforms only the link part); if
"none"
or FALSE
, object
is re-gridded so that its
bhat
slot contains predict(object)
and its linfct
slot
is the identity. Any internal transformation information is preserved. If
transform = "pass"
, the object is not re-gridded in any way (this
may be useful in conjunction with N.sim
).
If transform
is a character value in links
(which is the set
of valid arguments for the make.link
function, excepting
"identity"
), or if transform
is a list of the same form as
returned by make.links
or make.tran
, the results are
formulated as if the response had been transformed with that link function.
- inv.link.lbl
Character value. This applies only when transform
is in links
, and is used to label the predictions if subsequently summarized
with type = "response"
.
- predict.type
Character value. If provided, the returned object is
updated with the given type to use by default by summary.emmGrid
(see update.emmGrid
). This may be useful if, for example,
when one specifies transform = "log"
but desires summaries to be
produced by default on the response scale.
- bias.adjust
Logical value for whether to adjust for bias in
back-transforming (transform = "response"
). This requires a valid value of
sigma
to exist in the object or be specified.
- sigma
Error SD assumed for bias correction (when
transform = "response"
and a transformation
is in effect). If not specified,
object@misc$sigma
is used, and a warning is issued if it is not found.
- N.sim
Integer value. If specified and object
is based on a
frequentist model (i.e., does not have a posterior sample), then a fake
posterior sample is generated using the function sim
.
- sim
A function of three arguments (no names are assumed).
If N.sim
is supplied with a frequentist model, this function is called
with respective arguments N.sim
, object@bhat
, and object@V
.
The default is the multivariate normal distribution.
- ...
Ignored.