get_facts_file_example | R Documentation |
Get the path to an example FACTS file inside rfacts itself.
get_facts_file_example(facts_file)
facts_file |
Character, name of a FACTS file.
Usually has a
|
The rfacts
package comes with some example FACTS files.
Use the get_facts_file_example()
function to get the full path
to an example FACTS file. Use this file to try out run_flfll()
,
run_engine_contin()
, etc.
Character, the path to a FACTS file included with rfacts
.
run_facts()
, run_flfll()
, run_engine()
, run_engine_contin()
# Only run if system dependencies are configured: if (file.exists(Sys.getenv("RFACTS_PATHS"))) { facts_file <- get_facts_file_example("contin.facts") facts_file out <- run_facts( facts_file, n_sims = 1, verbose = FALSE ) read_patients(out) }
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.