tar_jags_example_file: Write an example JAGS model file.

View source: R/tar_jags_example_file.R

tar_jags_example_fileR Documentation

Write an example JAGS model file.

Description

Overwrites the file at path with a built-in example JAGS model file.

Usage

tar_jags_example_file(path = tempfile(pattern = "", fileext = ".jags"))

Arguments

path

Character of length 1, file path to write the model file.

Value

NULL (invisibly).

Examples

path <- tempfile(pattern = "", fileext = ".jags")
tar_jags_example_file(path = path)
writeLines(readLines(path))

jagstargets documentation built on Sept. 11, 2024, 6:21 p.m.