standard_copy_and_return: Copy a standard file to current working directory

Description Usage Arguments Value

View source: R/files.R

Description

Copies a standard Examples file to the current working directory and return the path to the just-created file

Usage

1
standard_copy_and_return(type, model, examples_dir)

Arguments

type

A character string. One of "model", "data", "inits" or "inits1"

model

A character string. The name of one of the Examples, as returned by all_models_in_dir for example.

examples_dir

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

Value

The path to the just-created file


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