## 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 mable.ph which contains M, coefficients, p, m, x0, tau.n, tau
lk, lr.
y: 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.
newdata: a new data.frame (ignored if y is included), imputed by the working baseline x0 if both missing.
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", which can contain more than one options.
add: logical add to an existing plot or not
...: additional arguments to be passed to the base plot function