Fit a parametric survival regression model using survival::survreg
s.PSURV(x, y, x.test = NULL, y.test = NULL, x.name = NULL,
y.name = NULL, weights = NULL, dist = "weibull",
control = survival::survreg.control(), print.plot = TRUE,
plot.fitted = NULL, plot.predicted = NULL,
plot.theme = getOption("rt.fit.theme", "lightgrid"), question = NULL,
verbose = TRUE, trace = 0, save.mod = FALSE, outdir = NULL, ...)
Numeric vector or matrix of features, i.e. independent variables
Object of class "Surv" created using survival::Surv
(Optional) Numeric vector or matrix of testing set features
must have set of columns as x
(Optional) Object of class "Surv" created using survival::Surv
Float: Vector of case weights
Additional parameters to pass to survival::survreg
Object of class rtMod
elevate for external cross-validation