find_model: Based on an argument tree ('args' object) find a model and...

View source: R/cmdstan-arg-tree-helpers.R

find_modelR Documentation

Based on an argument tree ('args' object) find a model and return the path. If the model file (.stan file) is not found, check for the presence of a partial model file (.model file) and splice it with components from args[['model_dir']]

Description

Based on an argument tree ('args' object) find a model and return the path. If the model file (.stan file) is not found, check for the presence of a partial model file (.model file) and splice it with components from args[['model_dir']]

Usage

find_model(args)

Arguments

args

arg-tree object (list).

Value

path to object's model file.


sakrejda/stannis documentation built on June 25, 2022, 3:19 a.m.