powered by
Plot for a fitted spbp model.
spbp
# S3 method for spbp plot( x, main, graph = c("baseline", "basis"), cumulative = FALSE, frame = FALSE, lwd = 3, ... )
an object of class `spbp` result of a spbp fit.
graph title
type of polynomial graph, default is "basis"
TRUE for odds and cumulative hazard
graphical parameter; default is FALSE
graphical parameter; default is 3
further arguments passed to or from other methods
spbp.
library("spsurv") data("veteran", package = "survival") fit <- bpph(Surv(time, status) ~ karno + factor(celltype), data = veteran ) plot(fit)
Run the code above in your browser using DataLab