data_arg: Set up data file for running

Description Usage Arguments Value

View source: R/arg.R

Description

Finds the appropriate data files and either copies or loads the data. Simple cases will be copied across. More fiddly examples involve loading the data into R.

Usage

1
data_arg(model, examples_dir)

Arguments

model

A character vector (length 1) specifying the model

examples_dir

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

Value

The full path to the just-created (as a result of copying) file; OR an R object with the data


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