This function produces plots of the profile likelihoods computed by
the function proflik
.
# S3 method for proflik
plot(x, pages = c("user", "one", "two"), uni.only, bi.only,
type.bi = c("contour", "persp"), conf.int = c(0.90, 0.95),
yaxis.lims = c("conf.int", "as.computed"),
by.col = TRUE, log.scale = FALSE, use.splines = TRUE,
par.mar.persp = c(0, 0, 0, 0), ask = FALSE, ...)
Produces plots with the profile likelihoods on the current graphics device. No values are returned.
an object of the class proflik
, typically an
output of the function proflik
.
specify how the plots will be arranged in the
graphics device. The default option, "user"
, uses the current
graphical parameters. The option "one"
places all the
profiles in the same page and the option "two"
places the
univariate profiles in one page and the bivariate profiles in
a second page.
only 1-D profiles are plotted even if the object contains results about the 2-D profiles.
only 2-D profile are plotted even if the object contains results about the 1-D profiles.
Type of plot for the 2-D profiles. Options are
"contour"
for contour plot
(the default) and "persp"
for perspective plot.
a vector with numbers in the interval \([0,1]\) specifying levels of the (approximated) confidence intervals. Defaults corresponds to the levels 90% and 95%.
defines the lower limits for the y-axis in the 1-D
plots. If "conf.int"
the limit is determined by the level of
the confidence interval (the default) otherwise will be determined
by the smallest computed value.
logical, If TRUE
the plots are arranged by columns in a multiple graphics
device.
plots the x-axis in the logarithmic scale. Defaults to
FALSE
.
logical. If TRUE
(the default) the function
spline
is used to interpolate between the points
computed by proflik
.
graphical parameters to be used with
persp
plots. For more details see par
.
logical. Defines whether or not the user is prompted before each plot is produced.
additional arguments to be passed to the functions
plot
, contour
and/or persp
.
Paulo Justiniano Ribeiro Jr. paulojus@leg.ufpr.br,
Peter J. Diggle p.diggle@lancaster.ac.uk.
Further information on the package geoR can be found at:
http://www.leg.ufpr.br/geoR/.
# see examples in the documentation for the function proflik()
Run the code above in your browser using DataLab