| init | R Documentation |
Piecemeal objects.There is rarely a reason to attach piecemeal via library(), so piecemeal::init(outdir) is provided as shorthand for Piecemeal$new(outdir).
init(outdir)
outdir |
the directory to hold the partial simulation results. |
A Piecemeal object.
Piecemeal
outdir <- file.path(tempdir(), "piecemeal_demo")
sim <- piecemeal::init(outdir)
# a.k.a. piecemeal::Piecemeal$new(outdir)
# a.k.a.
# library(piecemeal)
# Piecemeal$new(outdir)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.