From f3f415520c89f9d8526bf6fadc862ebd44be220d Mon Sep 17 00:00:00 2001 From: Johannes Ranke Date: Thu, 17 Nov 2016 18:14:32 +0100 Subject: Remove trailing whitespace, clean headers Also ignore test.R in the top level directory, as it is not meant to be public --- vignettes/FOCUS_D.Rmd | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'vignettes/FOCUS_D.Rmd') diff --git a/vignettes/FOCUS_D.Rmd b/vignettes/FOCUS_D.Rmd index 998cefa4..40bcb157 100644 --- a/vignettes/FOCUS_D.Rmd +++ b/vignettes/FOCUS_D.Rmd @@ -18,7 +18,7 @@ library(knitr) opts_chunk$set(tidy = FALSE, cache = TRUE) ``` -This is just a very simple vignette showing how to fit a degradation model for a parent +This is just a very simple vignette showing how to fit a degradation model for a parent compound with one transformation product using `mkin`. After loading the library we look a the data. We have observed concentrations in the column named `value` at the times specified in column `time` for the two observed variables @@ -33,7 +33,7 @@ print(FOCUS_2006_D) Next we specify the degradation model: The parent compound degrades with simple first-order kinetics (SFO) to one metabolite named m1, which also degrades with SFO kinetics. -The call to mkinmod returns a degradation model. The differential equations represented in +The call to mkinmod returns a degradation model. The differential equations represented in R code can be found in the character vector `$diffs` of the `mkinmod` object. If a C compiler (gcc) is installed and functional, the differential equation model will be compiled from auto-generated C code. @@ -51,7 +51,7 @@ fit <- mkinfit(SFO_SFO, FOCUS_2006_D, quiet = TRUE) ``` A plot of the fit including a residual plot for both observed variables is obtained -using the `plot_sep` method for `mkinfit` objects, which shows separate graphs for +using the `plot_sep` method for `mkinfit` objects, which shows separate graphs for all compounds and their residuals. ```{r plot, fig.height = 6, fig.width = 8} -- cgit v1.2.1