SurvregME {tramME} | R Documentation |
ME version of tram::Survreg
SurvregME( formula, data, subset, weights, offset, na.action = na.omit, dist = c("weibull", "logistic", "gaussian", "exponential", "rayleigh", "loggaussian", "lognormal", "loglogistic"), scale = 0, silent = TRUE, nofit = FALSE, optim_control = list(outer = list(), optim = list()), ... )
formula |
an object of class |
data |
an optional data frame, list or environment (or object
coercible by |
subset |
an optional vector specifying a subset of observations to be used in the fitting process. |
weights |
an optional vector of weights to be used in the fitting
process. Should be |
offset |
this can be used to specify an _a priori_ known component to
be included in the linear predictor during fitting. This
should be |
na.action |
a function which indicates what should happen when the data
contain |
dist |
character defining the conditional distribution of the (not necessarily positive) response, current choices include Weibull, logistic, normal, exponential, Rayleigh, log-normal (same as log-gaussian), or log-logistic. |
scale |
a fixed value for the scale parameter(s). |
silent |
Logical, if TRUE, prints all tracing information. |
nofit |
Logical, if TRUE, creates the model objects, but does not run the optimization. |
optim_control |
List of optional arguments for the optimizer. |
... |
additional arguments to |
A SurvregME object.
Fixing the scale parameter is currently not available.