aboutsummaryrefslogtreecommitdiff
path: root/docs/articles/compiled_models.R
diff options
context:
space:
mode:
Diffstat (limited to 'docs/articles/compiled_models.R')
-rw-r--r--docs/articles/compiled_models.R13
1 files changed, 13 insertions, 0 deletions
diff --git a/docs/articles/compiled_models.R b/docs/articles/compiled_models.R
index 4f544b0d..5ce343cb 100644
--- a/docs/articles/compiled_models.R
+++ b/docs/articles/compiled_models.R
@@ -1,3 +1,16 @@
+## ---- include = FALSE----------------------------------------------------
+library(knitr)
+opts_chunk$set(tidy = FALSE, cache = FALSE)
+
+## ----check_gcc-----------------------------------------------------------
+Sys.which("gcc")
+
+## ----create_SFO_SFO------------------------------------------------------
+library("mkin")
+SFO_SFO <- mkinmod(
+ parent = mkinsub("SFO", "m1"),
+ m1 = mkinsub("SFO"))
+
## ----benchmark_SFO_SFO, fig.height = 3-----------------------------------
library("microbenchmark")
library("ggplot2")

Contact - Imprint