Learn R Programming

bssm (version 2.0.2)

cpp_example_model: 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)

Value

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

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.

Examples

Run this code
cpp_example_model("sde_poisson_OU", return_code = TRUE)

Run the code above in your browser using DataLab