tar_jags_example_file {jagstargets} | R Documentation |
Overwrites the file at path
with a built-in example
JAGS model file.
tar_jags_example_file(path = tempfile(pattern = "", fileext = ".jags"))
path |
Character of length 1, file path to write the model file. |
NULL
(invisibly).
path <- tempfile(pattern = "", fileext = ".jags")
tar_jags_example_file(path = path)
writeLines(readLines(path))