plotCDF,Curve-method {gestate} | R Documentation |
Method for plotting the CDF of a Curve object
Description
This plots a Curve CDF
Usage
## S4 method for signature 'Curve'
plotCDF(
theObject,
overlay = FALSE,
maxT = 100,
maxCDF = 1,
increment = 0.1,
xlab = "Time",
ylab = "CDF",
main = "CDF plot",
type = "l",
...
)
Arguments
theObject |
The name of the RCurve Object |
overlay |
Boolean whether to overlay on existing plot (vs start a new one). Default=FALSE |
maxT |
Maximum time to plot up to. Default=100 |
maxCDF |
Maximum CDF to plot up to. Default=1 |
increment |
Plotting time increment. Default=0.1 |
xlab |
X-axis label. Default="Time" |
ylab |
Y-axis label. Default="CDF" |
main |
title of plot. Default="CDF plot" |
type |
type of plot (see standard graphical parameters). Default="l" (lines). |
... |
Standard graphical parameter arguments to be passed on to 'plot'/'lines', e.g. to change appearance of plot. |
Examples
plotCDF(Weibull(100,1))
plotCDF(Weibull(100,1),xlab="Test x label",maxT=60)
plotCDF(Weibull(80,0.8),overlay=TRUE,col=2,lty=2)
[Package gestate version 1.6.0 Index]