cpp_example_model: Example C++ Codes for Non-Linear and SDE Models

View source: R/cpp_example_models.R

cpp_example_modelR Documentation

Example C++ Codes for Non-Linear and SDE Models

Description

Example C++ Codes for Non-Linear and SDE Models

Usage

cpp_example_model(example, return_code = FALSE)

Arguments

example

Name of the example model. Run cpp_example_model("abc") to get the names of possible models.

return_code

If TRUE, will not compile the model but only returns the corresponding code.

Value

Returns pointers to the C++ snippets defining the model, or in case of return_code = TRUE, returns the example code without compiling.

Examples

cpp_example_model("sde_poisson_OU", return_code = TRUE)


bssm documentation built on Nov. 2, 2023, 6:25 p.m.