Skip to contents

tp_compile takes TreePPL model and prepares it to be used by tp_run().

Usage

tp_compile(model, method = "mcmc", ...)

Arguments

model

One of tree options:

  • The full path of the model file that contains the TreePPL code, OR

  • A string with the name of a model supported by treepplr (see tp_model_library()), OR

  • A string containing the entire TreePPL code.

Value

compiled_model from a compiled_model_Template