Returns a named list where each element of the list corresponds
to a Stan modelling block e.g. data
, model
, etc.
Usage
# S3 method for class 'StanModule'
as.list(x, stan_blocks = STAN_BLOCKS, ...)
Arguments
- x
(
StanModule
)
A Stan Module- stan_blocks
(
list
)
reference list of stan blocks.- ...
Not Used.
See also
Other StanModule:
StanModule-class
,
as.character.StanModule()
,
as_print_string.StanModule()