Learn R Programming

gptoolsStan (version 0.2.0)

gptools_include_path: Get the 'gptoolsStan' include path for compiling 'Stan' programs.

Description

Get the 'gptoolsStan' include path for compiling 'Stan' programs.

Usage

gptools_include_path()

Arguments

Value

Path to the directory containing source files for 'gptoolsStan' as characters.

Examples

Run this code
if (FALSE) {
library(cmdstanr)
library(gptoolsStan)

# Compile the model with paths set up to include 'Stan' sources from 'gptoolsStan'.
model <- cmdstan_model(
    stan_file = "/path/to/your/model.stan",
    include_paths = gptools_include_path(),
)
}

Run the code above in your browser using DataLab