bayessurvreg1.help {bayesSurv} | R Documentation

## Helping function for Bayesian survival regression models, version 1.

### Description

These functions are not to be called by ordinary users.

These are just sub-parts of `bayessurvreg1' function to make it more readable for the programmer.

### Usage

    bayessurvreg1.checkStore(store)

    bayessurvreg1.priorInit(prior, init, Yinit, Xinit, n, nX, nrandom,
       ncluster, indb, randomInt, toler.chol)

    bayessurvreg1.priorBeta(prior.beta, nX, indb, factors,
       n.factors, n.in.factors)

    bayessurvreg1.priorb(prior.b, nrandom, ncluster, toler.chol)

    bayessurvreg1.writeHeaders(dir, prior, store, nX, X, names.random,
       ncluster, nrandom, rnamesX, unique.cluster, nBetaBlocks, nbBlocks)

    bayessurvreg1.revjump(prop.revjump)

### Arguments

`store` | a~list as required by the `store` argument of the function `bayessurvreg1`
`prior, init, Yinit, Xinit, n, nX, nrandom, ncluster` | ???
`indb, randomInt, toler.chol` | ???
`prior.beta, factors, n.factors, n.in.factors` | ???
`prior.b, nrandom, ncluster` | ???
`prop.revjump` | ???
`dir, X, names.random` | ???
`rnamesX, unique.cluster, nBetaBlocks, nbBlocks` | ???

### Value

Some lists.

### Value for bayessurvreg1.priorb

A~list with the following components:

double
  double vector for C++ constructor of class `bblocks`. It has the following parts:

  priordD
  covparLV
  halfRangeUnif
  weightUnif

integer
  integer vector for C++ constructor of class `bblocks`. It has the following parts:

  nrandom
  ncluster
  priorD
  typeUpd
  nBlocks
  nInBlock
  lcovparLV
  indBlockLV

and the following attributes:

prior.b

### Author(s)

Arnost Komarek arnost.komarek@med.kuleuven.be

[Package bayesSurv version 0.4 Index]