.input_check {BayesFBHborrow}R Documentation

Input checker

Description

Checks inputs before Gibbs sampler is run

Usage

.input_check(
  Y,
  Y_0,
  X,
  X_0,
  tuning_parameters,
  initial_values = NULL,
  hyperparameters
)

Arguments

Y

current time-to-event data

Y_0

historical time-to-event data

X

design Matrix

X_0

design Matrix for historical data

tuning_parameters

list of tuning parameters

initial_values

list of initial values (optional)

hyperparameters

list of hyperparameters

Value

a print statement


[Package BayesFBHborrow version 2.0.1 Index]