init
argument of the function bayessurvreg1
. The initials are taken from
the files that are of the form of the files where the simulated values from
the McMC run performed by the function bayessurvreg1
are stored.
The files are assumed to have the following names: "iteration.sim",
"mixmoment.sim", "mweight.sim", "mmean.sim", "mvariance.sim",
"beta.sim", "b.sim", "Y.sim", "r.sim", "D.sim", "otherp.sim", "u.sim". Some of these files
may be missing. In that case, the corresponding initial is filled by NULL
.
bayessurvreg1.files2init(dir = getwd(), row, kmax)
header == FALSE
.init
of the function bayessurvreg1
.