Learn R Programming

bssm (version 1.1.7-1)

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)

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

Run this code
# NOT RUN {
cpp_example_model("sde_poisson_OU", return_code = TRUE)

# }

Run the code above in your browser using DataLab