give.init | R Documentation |
These functions are not to be called by ordinary users.
These are just sub-parts of bayesBisurvreg.priorInit
and
related functions to make them more readable for the programmer.
give.init.Gspline(prior, init, mcmc.par, dim)
give.init.y(init.y, dim, y.left, y.right, status)
give.init.y2(init.y, init2.y, dim, design, design2, doubly)
give.init.r(init.r, init.y, dim, KK,
gamma, sigma, c4delta, intcpt, scale)
prior |
a~list as required by |
init |
a~list as required by |
mcmc.par |
a~list as required by |
dim |
dimension of the G-spline/response, 1 or 2. |
init.y |
initial (augmented) observations possibly given by the user.
They are partially checked for consistency and these supplied by the user
used in the resulting object. This should be either vector of length |
init2.y |
initial (augmented) times-to-event (if doubly censoring) possibly given by the user.
They are partially checked for consistency and these supplied by the user
used in the resulting object. This should be either vector of length |
design |
an~object as returned by the function
|
design2 |
an~object as returned by the function
|
doubly |
logical indicating whether the response is doubly censored or not |
y.left |
observed, left or right censored log(event time) or the lower limit
of the interval censored observation. Sorted in a~transposed order compared
to |
y.right |
upper limit of the interval censored observation, whatever if the observation
is not interval-censored sorted in a~transposed order compared to |
status |
status indicator vector/matrix. 1 for observed times, 0 for right censored times, 2 for left censored times, 3 for interval censored times. |
init.r |
initial allocations possibly given by the user. This should be a~vector of length
|
KK |
vector of length |
gamma |
vector of length |
sigma |
vector of length |
c4delta |
vector of length |
intcpt |
vector of length |
scale |
vector of length |
Some lists.
A~list with the following components:
integer parameters for the G-spline constructor in the C++ code
double parameters for the G-spline constructor in the C++ code
specification of the G-spline model (1 or 2), see
bayesHistogram
for more detail
and the following attributes:
init |
prior |
mcmc.par |
A~vector or matrix with the same structure as init.y
, i.e. with 2~columns and
n
rows in the case of the bivariate data.
A~list with the following components:
a~vector of length n
or a~matrix with 2
columns and n
rows with initial log(onset times)
a~vector of length n
or a~matrix with 2
columns and n
rows with initial log(times-to-event). If
the data are not doubly cdensored, this object is equal to 0.
lower limit of the log-response (or exact/right/left
censored observation) as required by the C++ function
bayesBisurvreg
, related to the onset time in the case of
doubly censoring and to the event time otherwise
upper limit of the log-response as required by the C++ function
bayesBisurvreg
, related to the onset time in the case of
doubly censoring and to the event time otherwise
status vector as required by the C++ function
bayesBisurvreg
related to the onset time in the case of
doubly censoring and to the event time otherwise
lower limit of the response as required by the C++
function bayesBisurvreg
, related to time-to-event in the
case of doubly censoring, equal to 0 if there is no doubly-censoring
upper limit of the response as required by the C++
function bayesBisurvreg
, related to time-to-event in the
case of doubly censoring, equal to 0 if there is no doubly-censoring
status vector related to time-to-event in the case of doubly censoring, equal to 0 otherwise.
To be added somewhen...
Arnošt Komárek arnost.komarek@mff.cuni.cz
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.