plot {bhm}R Documentation

Plot a fitted biomarker threhold model

Description

Several different type of plots can be produced for biomarker threshold mdels. Plot method is used to provide a summary of outputs from "bhm", "pIndex", "resboot".

Use "methods(plot)" and the documentation for these for other plot methods.

Usage

## S3 method for class 'bhm'
plot(x, type = c("profile", "density"), ...)
## S3 method for class 'brm'
plot(x, type = c("HR"), ...)
## S3 method for class 'pIndex'
plot(x, ...)
## S3 method for class 'resboot'
plot(x, ...)
## S3 method for class 'residuals.brm'
plot(x, type="Martingale", ...)

Arguments

x

a class returned from "bhm", "pIndex" or "resboot" fit.

type

type of plot in bhm object, "profile" to plot profile likelihood, "density" to plot trace and density of the threshold distribution. "HR" to plot hazard ratio of the "brm" boject.

...

other options used in plot().

Details

plot.bhm is called to plot either the profilelihood function or the threshold density function.

plot.pIndex is called to plot local probability index (pIndex) of a continuous biomarker.

plot.resboot is called to plot the bootstrap distribution of the likelihood ratio test statistics for biomarker threshold models (resboot).

The default method, plot.default has its own help page. Use methods("plot") to get all the methods for the plot generic.

Author(s)

Bingshu E. Chen

See Also

The default method for plot plot.default. glm bhm pIndex resboot

Examples

#
#  plot(fit)
# 
######## plot for bhm object
#
#  plot(fit, type = 'density')
#

[Package bhm version 1.18 Index]