lcdensity-methods: Methods for Objects of Class 'lcdensity'

lcdensity-methodsR Documentation

Methods for Objects of Class lcdensity

Description

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

Usage

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

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

## S3 method for class '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.

Author(s)

Dominic Schuhmacher dominic.schuhmacher@mathematik.uni-goettingen.de
Kaspar Rufibach kaspar.rufibach@gmail.com
Lutz Duembgen duembgen@stat.unibe.ch

See Also

plotint

Examples

## See the examples for logcon

logconcens documentation built on Aug. 19, 2023, 5:12 p.m.