Skip to contents

This class extends the general StanModel class to comprise the survival model specification.

Usage

SurvivalModel(
  stan = StanModule(),
  parameters = ParameterList(),
  name = "<Unnamed>",
  ...
)

Arguments

stan

(StanModule) code containing the model-specific Stan code specification.

parameters

(ParameterList) the parameter declaration and prior specification.

name

(character) display name for the model object.

...

additional arguments for StanModel().

Value

A SurvivalModel object.

Examples

SurvivalModel()
#> 
#> <Unnamed> Survival Model with parameters:
#>     <No Parameters>
#>