profileCI_methods {profileCI} | R Documentation |
Methods for objects of class "profileCI"
Description
Methods for objects of class "profileCI"
returned from profileCI
.
Usage
## S3 method for class 'profileCI'
print(x, ...)
## S3 method for class 'profileCI'
plot(x, parm = 1:nrow(x), add = TRUE, digits = 2, ...)
Arguments
x |
An object inheriting from class |
... |
Further arguments. For |
parm |
A numeric or character scalar specifying the parameter for which
a profile log-likelihood is plotted. Must be a single component consistent
with the argument |
add |
A logical scalar. If |
digits |
An integer. Passed to |
Details
print.profileCI
. A numeric matrix with 2 columns giving the
lower and upper confidence limits for the parameters specified by the
argument parm
in profileCI
. These columns are labelled as
(1-level)/2
and 1-(1-level)/2
, expressed as a percentage, by default
2.5%
and 97.5%
.
plot.profileCI
. A plot is produced of the profile log-likelihood for
the parameter chosen by parm
. Only the parameter values used to profile
the log-likelihood in the call to profileCI
are included, so
if faster = TRUE
was used then the plot will not be of a smooth curve
but will be triangular in the middle.
Value
print.profileCI
: the argument x
is returned, invisibly.
plot.profileCI
: a numeric vector containing the confidence interval
for the parameter chosen for the plot.
Examples
See profileCI
.