Cox additive model

bacoxph(
  formula,
  data,
  weights,
  subset,
  na.action,
  init,
  control = coxph.control(eps = 1e-04, iter.max = 50),
  ties = c("breslow", "efron"),
  tt,
  prior = Student(0, 0.5, 1),
  group = NULL,
  method.coef,
  theta.weights = NULL,
  inter.hierarchy = NULL,
  inter.parents = NULL,
  Warning = FALSE,
  verbose = FALSE,
  ...
)

Arguments

formula, data, weights, subset, na.action, init, control, ties, tt

These arguments are the same as in coxph in the package survival

prior, group, method.coef, verbose, theta.weights, inter.hierarchy, inter.parents

These arguments are the same as in bgam

...

Reserved for future arguments.

Value

This function returns an object of class "coxph.penal" and "coxph", including all outputs from the function coxph and also results for the additional parameters in the hierarchical models.