aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorJohannes Ranke <jranke@uni-bremen.de>2014-07-03 07:51:18 +0200
committerJohannes Ranke <jranke@uni-bremen.de>2014-07-03 07:51:18 +0200
commitdc1b41e771c092f7b437fd493c85e7650ad1e27e (patch)
treea843ff63cab571963d1a0b78934e1735e6c10e8b /README.md
parent29e5940b778d3d7a3878a360af449b1c78580234 (diff)
Add a more complex usage example
Diffstat (limited to 'README.md')
-rw-r--r--README.md18
1 files changed, 17 insertions, 1 deletions
diff --git a/README.md b/README.md
index bf6b7b82..4d394808 100644
--- a/README.md
+++ b/README.md
@@ -47,7 +47,23 @@ A very simple usage example would be
summary(SFO.fit)
plot(SFO.fit)
-For more examples have a look at the examples provided in the
+A fairly complex usage example using a built-in dataset:
+
+ data <- mkin_wide_to_long(schaefer07_complex_case, time = "time")
+
+ model <- mkinmod(
+ parent = list(type = "SFO", to = c("A1", "B1", "C1"), sink = FALSE),
+ A1 = list(type = "SFO", to = "A2"),
+ B1 = list(type = "SFO"),
+ C1 = list(type = "SFO"),
+ A2 = list(type = "SFO"), use_of_ff = "max")
+
+ fit <- mkinfit(model, data, method.modFit = "Port")
+
+ plot(fit, show_residuals = TRUE)
+ s <- summary(fit)
+
+For more examples and to see results, have a look at the examples provided in the
[`mkinfit`](http://kinfit.r-forge.r-project.org/mkin_static/mkinfit.html)
documentation
or the package vignettes referenced from the

Contact - Imprint