aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorJohannes Ranke <jranke@uni-bremen.de>2015-04-22 13:46:32 +0200
committerJohannes Ranke <jranke@uni-bremen.de>2015-04-22 13:46:32 +0200
commit04502ca0c658a6c929debd61aee87be8c7eceb04 (patch)
tree40511ae054c24162c91ac77b007b64e5ea23654e /README.md
parentec79637749d300ab4ca170805c673905e52d67dd (diff)
Update markdown version of README
Diffstat (limited to 'README.md')
-rw-r--r--README.md21
1 files changed, 20 insertions, 1 deletions
diff --git a/README.md b/README.md
index 4cf12c3..04ac11f 100644
--- a/README.md
+++ b/README.md
@@ -30,7 +30,11 @@ library(devtools)
install_github("jranke/pfm", subdir = "pkg", quick = TRUE)
```
-To read in and analyse a cwa file:
+## Use
+
+# Analyse TOXSWA output
+
+Read in and analyse a cwa file:
```r
@@ -73,3 +77,18 @@ print(example_cwa)
## Event statistics for threshold 100
## No events found
```
+
+# Calculate PEC soil
+
+Simple PEC soil calculation for an application rate of 100 g/ha and
+25% interception, assuming complete mixing into 5 cm and a soil bulk
+density of 1.5 kg/L, output in mg/kg:
+
+
+```r
+PEC_soil(100, int = 0.25)
+```
+
+```
+## [1] 0.1
+```

Contact - Imprint