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))

wlandau/jagstargets documentation built on Dec. 7, 2024, 2:26 p.m.