surface.msm(x, params=c(1,2), np=10, type=c("contour","filled.contour","persp","image"),
point=NULL, xrange=NULL, yrange=NULL,...)
msm
, representing a fitted msm model.c(1,2)
, representing the first two
log transition intensities. See the fixedpars
argument tnp x np
grid will be used to evaluate the likelihood
surface. If 100 likelihood function evaluations is slow, then reduce this.contour
.
"filled.contour" Solid-color contour plot, using the R fun
, where n
is the number
of parameters in the model, including the parameters that will be
varied here. This specifies the point at which to fix the likelihood. By default, this
is the maximum likelmsm
with all estimates fixed at their initial values. contour.msm
just calls surface.msm with type = "persp"
.
persp.msm
just calls surface.msm with type = "persp"
.
image.msm
just calls surface.msm with type = "persp"
.
As these three functions are methods of the generic functions
contour
, persp
and image
, they
can be invoked as contour(x)
, persp(x)
or
image(x)
, where x
is a fitted msm
object.
msm
, contour
,
filled.contour
, persp
,
image
.