View source: R/directory-management.R
setup_nm_demo | R Documentation |
Following through the demo is the fastest way to learn the syntax of
NMproject. The default demo is a Theophylline ("theopp") pharmacometric analysis. Scripts will
be copied numbered s01_XXX.Rmd
, s02_XXX.Rmd
in the "Scripts"
directory and a
dataset into "SourceData"
. The "staging"
area will also be pre-filled with
the code library model, "ADVAN2.mod"
. To practice copying this yourself, see
code_library()
for how the app works.
setup_nm_demo( demo_name = "theopp", overwrite = FALSE, additional_demo_locations = NULL )
demo_name |
Character. Name of demo. Default = "theopp". See details to find other demos |
overwrite |
Logical. Default changed to FALSE. |
additional_demo_locations |
Character vector. default = NULL. Locations for demo directories. |
Available demo_name
correspond to directory locations in
system.file("extdata","examples",package = "NMproject")
Invisibly returns a tibble
with imported file information.
code_library()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.