Plot survival curve for a model that has been fit using grpsurv
followed by a prediction of the survival function using
predict.grpsurv
Usage
# S3 method for grpsurv.func
plot(x, alpha = 1, ...)
Arguments
- x
A
'grpsurv.func'
object, which is returned bypredict.grpsurv
iftype='survival'
is specified. See examples.- alpha
Controls alpha-blending (i.e., transparency). Useful if many overlapping lines are present.
- ...
Other graphical parameters to pass to
plot