diff options
Diffstat (limited to 'vignettes/FOCUS_D.Rmd')
-rw-r--r-- | vignettes/FOCUS_D.Rmd | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/vignettes/FOCUS_D.Rmd b/vignettes/FOCUS_D.Rmd index 037dd854..02c2c467 100644 --- a/vignettes/FOCUS_D.Rmd +++ b/vignettes/FOCUS_D.Rmd @@ -3,7 +3,7 @@ title: Example evaluation of FOCUS Example Dataset D author: Johannes Ranke
date: "`r Sys.Date()`"
output:
- html_vignette:
+rmarkdown::html_vignette:
mathjax: null
vignette: >
%\VignetteIndexEntry{Example evaluation of FOCUS Example Dataset D}
@@ -11,20 +11,21 @@ vignette: > %\VignetteEncoding{UTF-8}
---
-```{r, include = FALSE}
+```{r, include = FALSE, message = FALSE}
library(knitr)
-opts_chunk$set(tidy = FALSE, cache = TRUE)
+opts_chunk$set(tidy = FALSE, cache = FALSE)
+library(mkin)
```
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
+library we look at the data. We have observed concentrations in the column named
`value` at the times specified in column `time` for the two observed variables
named `parent` and `m1`.
```{r data}
-library("mkin", quietly = TRUE)
+library(mkin, quietly = TRUE)
print(FOCUS_2006_D)
```
|