| control.hazard {INLA} | R Documentation |
control.hazard
Description
Control variables in control.* for use with inla().
The functions can be used to TAB-complete arguments, and
returns a list of the default control arguments, unless overridden by
specific input arguments.
Usage
control.hazard(
model = "rw1",
hyper = NULL,
fixed = FALSE,
initial = NULL,
prior = NULL,
param = NULL,
constr = TRUE,
diagonal = NULL,
n.intervals = 15,
cutpoints = NULL,
strata.name = NULL,
scale.model = NULL
)
inla.set.control.hazard.default(...)
Arguments
model |
The model for the baseline hazard model. One of 'rw1', 'rw2' or 'iid'. (Default 'rw1'.) |
hyper |
The definition of the hyperparameters. |
fixed |
(OBSOLETE!) A boolean variable; is the precision for 'model' fixed? (Default FALSE.) |
initial |
(OBSOLETE!) The initial value for the precision. |
prior |
(OBSOLETE!) The prior distribution for the precision for 'model' |
param |
(OBSOLETE!) The parameters in the prior distribution |
constr |
A boolean variable; shall the 'model' be constrained to sum to zero? |
diagonal |
An extra constant added to the diagonal of the precision matrix |
n.intervals |
Number of intervals in the baseline hazard. (Default 15) |
cutpoints |
The cutpoints to use. If not specified the they are compute from 'n.intervals' and the maximum length of the interval. (Default NULL) |
strata.name |
The name of the stratefication variable for the baseline hazard in the data.frame |
scale.model |
Scale the baseline hazard model (RW1, RW2) so the
generalized variance is 1. (Default
|
... |
Named arguments passed on to the main function |
See Also
Other control:
control.bgev(),
control.compute(),
control.expert(),
control.family(),
control.fixed(),
control.gcpo(),
control.group(),
control.inla(),
control.lincomb(),
control.link(),
control.lp.scale(),
control.mix(),
control.mode(),
control.numa(),
control.pardiso(),
control.pom(),
control.predictor(),
control.scopy(),
control.sem(),
control.stiles(),
control.taucs(),
control.update(),
control.vb()