Plot mathod for class 'mable_reg'
# S3 method for mable_reg
plot(
x,
y,
newdata = NULL,
ntime = 512,
xlab = "Time",
which = c("survival", "likelihood", "change-point", "density", "all"),
add = FALSE,
...
)a class 'mable_reg' object return by functions such as mable.ph which contains
M, coefficients, p, m, x0, tau.n, tau
lk, lr.
a new data.frame of covariate value(s) as row(s), whose columns are
arranged in the same order as in the formula called by the function
that returned the object x.
a new data.frame (ignored if y is included), imputed
by the working baseline x0 if both missing.
number of evaluations of density, survival or cumulative distribution curve to be plotted.
x-axis label
indicates which graphs to plot, options are
"survival", "likelihood", "change-point", "density", or "all". If not "all",
which can contain more than one options.
logical add to an existing plot or not
additional arguments to be passed to the base plot function
Zhong Guan <zguan@iu.edu>