plot.mable_reg {mable} | R Documentation |
Plot mathod for class 'mable_reg'
Description
Plot mathod for class 'mable_reg'
Usage
## S3 method for class 'mable_reg'
plot(
x,
y,
newdata = NULL,
ntime = 512,
xlab = "Time",
which = c("survival", "likelihood", "change-point", "density", "all"),
add = FALSE,
...
)
Arguments
x |
a class 'mable_reg' object return by functions such as |
y |
a new data.frame of covariate value(s) as row(s), whose columns are
arranged in the same order as in the |
newdata |
a new data.frame (ignored if |
ntime |
number of evaluations of density, survival or cumulative distribution curve to be plotted. |
xlab |
x-axis label |
which |
indicates which graphs to plot, options are
"survival", "likelihood", "change-point", "density", or "all". If not "all",
|
add |
logical add to an existing plot or not |
... |
additional arguments to be passed to the base plot function |
Author(s)
Zhong Guan <zguan@iusb.edu>