Description Usage Arguments Value
spbp: The BP Based Semiparametric Survival Analysis Function
1 2 3 4 5 6 7 8 9 10 11 12 |
formula |
a Surv object with time to event, status and explanatory terms |
degree |
Bernstein Polynomial degree |
data |
a data.frame object |
approach |
Bayesian or Maximum Likelihood estimation methods, default is approach = "bayes" |
model |
Proportional Hazards or Proportional Odds BP based regression, default is model = "ph" |
priors |
prior settings for the Bayesian approach; 'normal' or 'cauchy' for beta; 'gamma', 'inv_gamma' or 'lognormal' for gamma (BP coefficients) |
scale |
logical; indicates whether to center and scale the data |
cores |
number of core threads to use |
... |
further arguments passed to or from other methods |
An object of class spbp
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.