PlotData | R Documentation |
survDataVar
objectsThis is the generic plot
S3 method for the survDataVar
class.
It plots the number of survivors as a function of time.
## S3 method for class 'SurvDataVarExp'
plot(
x,
xlab = "Time",
ylab = "Number of survivors",
main = NULL,
one_plot = FALSE,
add_legend = FALSE,
...
)
## S3 method for class 'SurvDataCstExp'
plot(
x,
xlab = "Time",
ylab = "Number of survivors",
main = NULL,
one_plot = FALSE,
...
)
x |
an object of class |
xlab |
a label for the |
ylab |
a label for the |
main |
main title for the plot. |
one_plot |
if |
add_legend |
if |
... |
Further arguments to be passed to generic methods. |
an object of class ggplot
,
see function ggplot
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.