This function prints skeleton versions of the required SimDesign functions
to run simulations, complete with the correct inputs, class of outputs, and optional comments to
help with the initial definitions. Use this at the start of your Monte Carlo simulation study. The
recommended approach is to save the template to the hard-drive by passing a suitable file name.
However, for larger simulations, as well as when using the RStudio
, two
separate files will often be easier for debugging/sourcing the simulation code (achieved by passing
singlefile = FALSE
).
For a didactic presentation of the package refer to Sigal and Chalmers
(2016; 10.1080/10691898.2016.1246953), and see the associated
wiki on Github (https://github.com/philchalmers/SimDesign/wiki)
for other tutorial material, examples, and applications of SimDesign
to real-world simulations.