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 Stan code specification.

parameters

(ParameterList) the parameter specification.

name

(character) display name for the model object.

...

additional arguments for StanModel().