all_models_in_dir: Extract names of all models in Examples

Description Usage Arguments Details Value

View source: R/files.R

Description

The Examples in BUGS are named in a standard manner. For a model called "EXAMPLE", there will be the following files:

Usage

1
all_models_in_dir(examples_dir)

Arguments

examples_dir

A character vector (length 1), containing the path to the Examples directory in the MultiBUGS directory

Details

1. EXAMPLE.txt - this is the manual page that describes the model, and links to other pages 2. EXAMPLEmodel.txt - this just contains the model 3. EXAMPLEdata.txt - this just contains the data 4. EXAMPLEinits.txt - this contains the first set of inits 5. EXAMPLEinits1.txt - this contains a second set of inits

This function uses 2 to extract a list of all models in the Examples directory

Value

A character vector of model names


MultiBUGS/multibugstests documentation built on Feb. 24, 2020, 2:06 p.m.