Usage
coxphfplot(formula = attr(data, "formula"), data = sys.parent(),
profile, pitch = 0.05, limits, alpha = 0.05,
maxit = 50, maxhs = 5, epsilon = 1e-06, maxstep = 2.5,
firth = TRUE, legend = "center", ...)Arguments
formula
a formula object, with the response on the left of the operator, and the
model terms on the right. The response must be a survival object as returned by the 'Surv' function.
data
a data.frame in which to interpret the variables named in the 'formula' argument.
profile
a righthand formula specifying the plotted parameter, interaction or
general term, e.g. ~ A or ~ A : C.
pitch
distances between the interpolated points in standard errors of
the parameter estimate, the default value is 0.05.
limits
the range of the x-axis in terms of standard errors from the parameter estimate. The default values
are the extremes of both confidence intervals, Wald and PL, plus or minus half a
standard error, respectively.
alpha
the significance level (1-$\alpha$ the confidence level,
0.05 as default).
maxit
maximum number of iterations (default value is 50)
maxhs
maximum number of step-halvings per iterations (default value is 5).
The increments of the parameter vector in one Newton-Rhaphson iteration step are halved,
unless the new likelihood is greater than the old one, maximally doing maxhs<
epsilon
specifies the maximum allowed change in penalized log likelihood to
declare convergence. Default value is 0.0001.
maxstep
specifies the maximum change of (standardized) parameter values allowed
in one iteration. Default value is 2.5.
firth
use of Firth's penalized maximum likelihood (firth=TRUE, default) or the
standard maximum likelihood method (firth=FALSE) for fitting the Cox model.
legend
if FALSE, legends in the plot would be omitted
(default is TRUE).
...
other parameters to legend