From be3ebec109393bad7c4ad4144f0d9e3ba3bfcdc6 Mon Sep 17 00:00:00 2001 From: hollorol Date: Thu, 26 Apr 2018 12:28:19 +0200 Subject: [PATCH] musoSensi documentation html --- Documents/musoSensi_usage_v3.html | 247 ++++++++++++++++++++++++++++++ 1 file changed, 247 insertions(+) create mode 100644 Documents/musoSensi_usage_v3.html diff --git a/Documents/musoSensi_usage_v3.html b/Documents/musoSensi_usage_v3.html new file mode 100644 index 0000000..9dd6502 --- /dev/null +++ b/Documents/musoSensi_usage_v3.html @@ -0,0 +1,247 @@ + + + + + + + + + + + + + + + +Preparation to use sensitivity analysis of Biome-BGCMuSo using the RBBGCMuSo package + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + +
+

Installation of requirements

+

Before start using the RBBGCMuso package, you have to install it on your computer under the R environment. Note that the latest R package is suitable, and we also suggest to use the latest RStudio software.

+

In this stage of development, you have to have Rtools and devtools installed. In the future, this package will be available throught CRAN, which is the official repository of R.

+

In order to install Rtools, please visit this link: https://cran.r-project.org/bin/windows/Rtools/ then download the installation file and install it.

+

The installation of package devtools is much easier:

+
install.packages("devtools")
+
+
+

Installation of RBBGCMuso

+

After you get devtools and Rtools, we propose to install the most recent RBBGCMuso package, and load it using the following commands in R:

+
devtools::install_github("hollorol/RBBGCMuso/RBBGCMuso")
+library(RBBGCMuso)
+
+
+

Preparations

+

Before starting the sensitivity analysis you have to specify the parameters you are interested in. This list has to be stored in an external file. You should give the name, the index (in other words, the line number of the EPC file), and the range with minimum and maximum values of the parameter. You should strictly use the following format (the contents of the rows are just examples):

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NAMEINDEXMINMAX
LRTF3401
WTF3501
WPM3601
FM3701
CN_lv380200
CN_li390200
CN_ro400200
CN_fr410200
CN_ss420200
+

The header names are: NAME, INDEX, MIN, MAX (all uppercase). Note that NAME can be anything that might help you to identify the parameter. I suggest to use the csv format for these parameter tables, and I also strongly recommend to use comma as separator of the content, and not semicolon.

+

After you have saved the parameter table to a file (in this example we store the content of the above table in a file called “parameters.csv”), you have to read it into a suitable variable within R with the command: parameters <- read.csv(“/path/to/your/parameters.csv”)

+

In our example it is:

+
parameters <- read.csv("parameters.csv")
+
+ + + + +
+ + + + + + + +