skeleton | R Documentation |
Prints an example 'JAGS' model and associated 'jagsUI' code to the console, along with code to simulate a corresponding dataset. This is intended to serve as a template that can be altered as needed by the user.
skeleton(NAME = "NAME")
NAME |
Name to append to JAGS model object, etc. |
NULL
The printed code will use the cat()
function to write the model code to an
external text file. It may be desirable to use a call to \link{tempfile}()
instead, to eliminate creation of unneeded files.
Matt Tyers
skeleton("asdf")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.