Learn R Programming

logconcens (version 0.17-4)

lcdensity-methods: Methods for Objects of Class lcdensity

Description

Plot, print, and summary methods for objects of class lcdensity.

Usage

# S3 method for lcdensity
plot(x, type = c("log-density", "density", "CDF", "survival"), sloperange = TRUE,
                      kinklines=TRUE, kinkpoints=FALSE, xlim=NULL, ylim=NULL, ...)

# S3 method for lcdensity print(x, ...)

# S3 method for lcdensity summary(object, ...)

Arguments

x, object

objects of class lcdensity, as returned by logcon.

type

the type of plot to be produced.

sloperange

logical. In cases where the cure parameter / the right-hand side slope of the log-subdensity \(\phi\) is not unique, should grey area be drawn indicating the set of possible right-hand slopes?

kinklines

logical. Should vertical lines be drawn at the kinks of the log-subdensity \(\phi\)?

kinkpoints

logical. Should fat points be plotted at the kinks of the log-subdensity \(\phi\)?

xlim, ylim

numeric vectors of length 2, giving the x and y coordinates ranges.

...

further arguments passed to plot.default. Depending on the argument this may or may not work in the intended way.

See Also

plotint

Examples

Run this code
## See the examples for logcon

Run the code above in your browser using DataLab