From 36036b5901223591e7e21e8b73d8cd1fb034f4cb Mon Sep 17 00:00:00 2001 From: Johannes Ranke Date: Tue, 16 May 2017 15:43:50 +0200 Subject: Finish the Step 1 calculator including tests Some cleaning up. PELMO facilities do not currently work at my end, as I have no working wine installation on this computer --- docs/reference/FOCUS_GW_scenarios_2012.html | 14 +- docs/reference/FOCUS_PELMO_crop_sze_names.html | 14 +- docs/reference/FOCUS_PELMO_crops.html | 26 +- docs/reference/FOCUS_PELMO_location_codes.html | 8 +- docs/reference/FOCUS_Step_12_scenarios.html | 285 ++++++++++++++++++++++ docs/reference/GUS.html | 97 +++++--- docs/reference/PEC_soil.html | 133 ++++++---- docs/reference/PEC_sw_drainage_UK.html | 55 +++-- docs/reference/PEC_sw_drift.html | 67 +++-- docs/reference/PEC_sw_focus.html | 272 +++++++++++++++++++++ docs/reference/PEC_sw_sed.html | 63 +++-- docs/reference/PELMO_path.html | 29 ++- docs/reference/PELMO_runs.html | 143 +++++------ docs/reference/SFO_actual_twa.html | 23 +- docs/reference/SSLRC_mobility_classification.html | 19 +- docs/reference/TOXSWA_cwa.html | 44 ++-- docs/reference/chent_focus_sw.html | 142 +++++++++++ docs/reference/create_run_list.html | 31 ++- docs/reference/drift_data_JKI.html | 44 ++-- docs/reference/endpoint.html | 83 ++++--- docs/reference/evaluate_PELMO.html | 116 --------- docs/reference/focus_80th.html | 23 +- docs/reference/geomean.html | 23 +- docs/reference/get_flux.html | 18 +- docs/reference/get_interval.html | 22 +- docs/reference/index.html | 266 ++++++++++++-------- docs/reference/max_twa.html | 23 +- docs/reference/one_box-12.png | Bin 9901 -> 0 bytes docs/reference/one_box-6.png | Bin 5743 -> 0 bytes docs/reference/one_box.html | 53 ++-- docs/reference/pfm_degradation.html | 51 ++-- docs/reference/plot.TOXSWA_cwa.html | 57 +++-- docs/reference/plot.one_box.html | 63 +++-- docs/reference/read.TOXSWA_cwa.html | 71 ++++-- docs/reference/run_PELMO.html | 119 --------- docs/reference/sawtooth-8.png | Bin 13603 -> 0 bytes docs/reference/sawtooth.html | 39 +-- docs/reference/soil_scenario_data_EFSA_2015.html | 40 +-- docs/reference/sum_periods.html | 22 +- docs/reference/twa.html | 23 +- 40 files changed, 1742 insertions(+), 879 deletions(-) create mode 100644 docs/reference/FOCUS_Step_12_scenarios.html create mode 100644 docs/reference/PEC_sw_focus.html create mode 100644 docs/reference/chent_focus_sw.html delete mode 100644 docs/reference/evaluate_PELMO.html delete mode 100644 docs/reference/one_box-12.png delete mode 100644 docs/reference/one_box-6.png delete mode 100644 docs/reference/run_PELMO.html delete mode 100644 docs/reference/sawtooth-8.png (limited to 'docs/reference') diff --git a/docs/reference/FOCUS_GW_scenarios_2012.html b/docs/reference/FOCUS_GW_scenarios_2012.html index fbc1649..97bdebf 100644 --- a/docs/reference/FOCUS_GW_scenarios_2012.html +++ b/docs/reference/FOCUS_GW_scenarios_2012.html @@ -6,7 +6,7 @@ -A very small subset of the FOCUS Groundwater scenario defitions — FOCUS_GW_scenarios_2012 • pfm +A very small subset of the FOCUS Groundwater scenario definitions — FOCUS_GW_scenarios_2012 • pfm @@ -25,12 +25,14 @@ - + + + @@ -66,7 +68,7 @@
@@ -74,7 +76,7 @@ soil definitions are from page 46ff. from FOCUS (2012).

-
FOCUS_GW_scenarios_2012
+
FOCUS_GW_scenarios_2012

Format

@@ -90,9 +92,9 @@ soil definitions are from page 46ff. from FOCUS (2012).

Examples

FOCUS_GW_scenarios_2012
#> $names #> Cha Ham Jok Kre Oke -#> "Châteaudun" "Hamburg" "Jokioinen" "Kremsmünster" "Okehampton" +#> "Châteaudun" "Hamburg" "Jokioinen" "Kremsmünster" "Okehampton" #> Pia Por Sev Thi -#> "Piacenza" "Porto" "Sevilla" "Thiva" +#> "Piacenza" "Porto" "Sevilla" "Thiva" #> #> $soils #> location horizon number pH_H2O perc_clay perc_oc rel_deg diff --git a/docs/reference/FOCUS_PELMO_crop_sze_names.html b/docs/reference/FOCUS_PELMO_crop_sze_names.html index 5777868..16c0dc6 100644 --- a/docs/reference/FOCUS_PELMO_crop_sze_names.html +++ b/docs/reference/FOCUS_PELMO_crop_sze_names.html @@ -25,12 +25,14 @@ - + + + @@ -76,7 +78,7 @@ in the file names are sometimes capitalized, sometimes not. The scenario files used for Beans (field) and Beans (vegetable) are the same.

-
FOCUS_PELMO_crop_sze_names
+
FOCUS_PELMO_crop_sze_names

Format

@@ -85,13 +87,13 @@ files used for Beans (field) and Beans (vegetable) are the same.

Examples

print(FOCUS_PELMO_crop_sze_names)
#> app gra pot sug win fbe vbe bus -#> "apples" "grass" "potato" "sbeets" "wcerea" "beans" "beans" "bushb" +#> "apples" "grass" "potato" "sbeets" "wcerea" "beans" "beans" "bushb" #> cab car cit cot lin mai soi woi -#> "cabbag" "carrot" "citrus" "cotton" "linse" "maize" "rapesu" "rapewi" +#> "cabbag" "carrot" "citrus" "cotton" "linse" "maize" "rapesu" "rapewi" #> oni ape soy spr str sun tob tom -#> "onions" "peas" "soyb" "scerea" "strawb" "sunflo" "tobacc" "tomato" +#> "onions" "peas" "soyb" "scerea" "strawb" "sunflo" "tobacc" "tomato" #> vin -#> "vines"
+#> "vines"
diff --git a/docs/reference/index.html b/docs/reference/index.html index 33713b6..a6ae657 100644 --- a/docs/reference/index.html +++ b/docs/reference/index.html @@ -25,12 +25,14 @@ - + + + @@ -66,113 +68,171 @@
-

General utility functions

-

Functions that are independent of specific fate modelling areas

- - -

Calculate the geometric mean

- - -

Create a time series of decline data

- - -

Plot time series of decline data

- - -

Create decline time series for multiple applications

- - -

Calculate a time weighted average concentration

- - -

The maximum time weighted average concentration for a moving window

- -

Predicted environmental concentrations in soil

-

+ - -

Calculate predicted environmental concentrations in soil

- - -

Properties of the predefined scenarios from the EFSA guidance from 2015

- -

Predicted environmental concentrations in groundwater

-

+ + + + - -

Set up runs for FOCUS PELMO

- -

Predicted environmental concentrations in surface water

-

- - -

Calculate predicted environmental concentrations in surface water due to drift

- - -

Deposition from spray drift expressed as percent of the applied dose as -

- - -

Calculate initial predicted environmental concentrations in surface water due to drainage using the UK method

- - -

R6 class for holding TOXSWA cwa concentration data and associated statistics

- - -

Read TOXSWA surface water concentrations

- - -

Plot TOXSWA surface water concentrations

- -

Classifications and indicators

-

Evaluating environmental fate properties

- - -

Determine the SSLRC mobility classification for a chemical substance from its Koc

- - -

Groundwater ubiquity score based on Gustafson (1989)

- - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+

General utility functions

+

Functions that are independent of specific fate modelling areas

+
+

geomean

+

Calculate the geometric mean

+

one_box

+

Create a time series of decline data

+

plot

+

Plot time series of decline data

+

sawtooth

+

Create decline time series for multiple applications

+

twa

+

Calculate a time weighted average concentration

+

max_twa

+

The maximum time weighted average concentration for a moving window

+

Predicted environmental concentrations in soil

+

+
+

PEC_soil

+

Calculate predicted environmental concentrations in soil

+

soil_scenario_data_EFSA_2015

+

Properties of the predefined scenarios from the EFSA guidance from 2015

+

Predicted environmental concentrations in groundwater

+

+
+

PELMO_runs run_PELMO evaluate_PELMO

+

Set up runs for FOCUS PELMO

+

Predicted environmental concentrations in surface water

+

+
+

PEC_sw_drift

+

Calculate predicted environmental concentrations in surface water due to drift

+

drift_data_JKI

+

Deposition from spray drift expressed as percent of the applied dose as +published by the JKI

+

PEC_sw_drainage_UK

+

Calculate initial predicted environmental concentrations in surface water due to drainage using the UK method

+

PEC_sw_focus

+

Calculate FOCUS Step 1 PEC surface water

+

TOXSWA_cwa

+

R6 class for holding TOXSWA cwa concentration data and associated statistics

+

read.TOXSWA_cwa

+

Read TOXSWA surface water concentrations

+

plot

+

Plot TOXSWA surface water concentrations

+

Classifications and indicators

+

Evaluating environmental fate properties

+
+

SSLRC_mobility_classification

+

Determine the SSLRC mobility classification for a chemical substance from its Koc

+

GUS print

+

Groundwater ubiquity score based on Gustafson (1989)

diff --git a/docs/reference/max_twa.html b/docs/reference/max_twa.html index f78da58..431bbd7 100644 --- a/docs/reference/max_twa.html +++ b/docs/reference/max_twa.html @@ -25,12 +25,14 @@ - + + + @@ -77,15 +79,20 @@ for finding the maximum. It is therefore recommended to check this using max_twa.

-
max_twa(x, window = 21)
+
max_twa(x, window = 21)

Arguments

-
-
x
-
An object of type one_box
-
window
-
The size of the moving window
-
+ + + + + + + + + + +
x

An object of type one_box

window

The size of the moving window

Details

diff --git a/docs/reference/one_box-12.png b/docs/reference/one_box-12.png deleted file mode 100644 index 31e2f4b..0000000 Binary files a/docs/reference/one_box-12.png and /dev/null differ diff --git a/docs/reference/one_box-6.png b/docs/reference/one_box-6.png deleted file mode 100644 index 10ebb35..0000000 Binary files a/docs/reference/one_box-6.png and /dev/null differ diff --git a/docs/reference/one_box.html b/docs/reference/one_box.html index 800ca66..931e722 100644 --- a/docs/reference/one_box.html +++ b/docs/reference/one_box.html @@ -25,12 +25,14 @@ - + + + @@ -73,7 +75,7 @@

Create a time series of decline data

-
one_box(x, ini, ..., t_end = 100, res = 0.01)
+    
one_box(x, ini, ..., t_end = 100, res = 0.01)
 
 # S3 method for numeric
 one_box(x, ini = 1, ..., t_end = 100, res = 0.01)
@@ -86,28 +88,41 @@
 one_box(x, ini = "model", ..., t_end = 100, res = 0.01)

Arguments

-
-
x
-
When numeric, this is the half-life to be used for an exponential + + + + + + + + + + + + + + + + + + + + + + + + + + +
x

When numeric, this is the half-life to be used for an exponential decline. When a character string specifying a parent decline model is given e.g. FOMC, parms must contain the corresponding paramters. If x is an mkinfit object, the decline is calculated from this -object. -

ini
-
The initial amount. If x is an mkinfit object, and -ini is 'model', the fitted initial concentrations are used. Otherwise, ini +object.

ini

The initial amount. If x is an mkinfit object, and +ini is 'model', the fitted initial concentrations are used. Otherwise, ini must be numeric. If it has length one, it is used for the parent and initial values of metabolites are zero, otherwise, it must give values for -all observed variables. -

...
-
Further arguments passed to methods
-
t_end
-
End of the time series
-
res
-
Resolution of the time series
-
parms
-
A named numeric vector containing the model parameters
- +all observed variables.

...

Further arguments passed to methods

t_end

End of the time series

res

Resolution of the time series

parms

A named numeric vector containing the model parameters

Value

diff --git a/docs/reference/pfm_degradation.html b/docs/reference/pfm_degradation.html index d98778b..9198f6b 100644 --- a/docs/reference/pfm_degradation.html +++ b/docs/reference/pfm_degradation.html @@ -25,12 +25,14 @@ - + + + @@ -73,27 +75,40 @@

Calculate a time course of relative concentrations based on an mkinmod model

-
pfm_degradation(model = "SFO", DT50 = 1000, parms = c(k_parent_sink =
+    
pfm_degradation(model = "SFO", DT50 = 1000, parms = c(k_parent_sink =
   log(2)/DT50), years = 1, step_days = 1, times = seq(0, years * 365, by =
   step_days))

Arguments

-
-
model
-
The degradation model to be used. Either a parent only model like -'SFO' or 'FOMC', or an mkinmod object
-
DT50
-
The half-life. This is only used when simple exponential decline -is calculated (SFO model).
-
parms
-
The parameters used for the degradation model
-
years
-
For how many years should the degradation be predicted?
-
step_days
-
What step size in days should the output have?
-
times
-
The output times
-
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
model

The degradation model to be used. Either a parent only model like +'SFO' or 'FOMC', or an mkinmod object

DT50

The half-life. This is only used when simple exponential decline +is calculated (SFO model).

parms

The parameters used for the degradation model

years

For how many years should the degradation be predicted?

step_days

What step size in days should the output have?

times

The output times

Examples

diff --git a/docs/reference/plot.TOXSWA_cwa.html b/docs/reference/plot.TOXSWA_cwa.html index 7cbe238..5375673 100644 --- a/docs/reference/plot.TOXSWA_cwa.html +++ b/docs/reference/plot.TOXSWA_cwa.html @@ -25,12 +25,14 @@ - + + + @@ -74,30 +76,45 @@ segment of a TOXSWA surface water body.

-
# S3 method for TOXSWA_cwa
+    
# S3 method for TOXSWA_cwa
 plot(x, time_column = c("datetime", "t", "t_firstjan",
   "t_rel_to_max"), xlab = "default", ylab = "default", add = FALSE,
   total = FALSE, LC_TIME = "C", ...)

Arguments

-
-
x
-
The TOXSWA_cwa object to be plotted.
-
time_column
-
What should be used for the time axis. If "t_firstjan" is chosen, -the time is given in days relative to the first of January in the first year.
-
xlab, ylab
-
Labels for x and y axis.
-
add
-
Should we add to an existing plot?
-
total
-
Should the total concentration in water be plotted, including substance sorbed -to suspended matter?
-
LC_TIME
-
Specification of the locale used to format dates
-
...
-
Further arguments passed to plot if we are not adding to an existing plot
-
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
x

The TOXSWA_cwa object to be plotted.

time_column

What should be used for the time axis. If "t_firstjan" is chosen, +the time is given in days relative to the first of January in the first year.

xlab, ylab

Labels for x and y axis.

add

Should we add to an existing plot?

total

Should the total concentration in water be plotted, including substance sorbed +to suspended matter?

LC_TIME

Specification of the locale used to format dates

...

Further arguments passed to plot if we are not adding to an existing plot

Examples

diff --git a/docs/reference/plot.one_box.html b/docs/reference/plot.one_box.html index 4c3cb82..0a876e3 100644 --- a/docs/reference/plot.one_box.html +++ b/docs/reference/plot.one_box.html @@ -25,12 +25,14 @@ - + + + @@ -73,32 +75,49 @@

Plot time series of decline data

-
# S3 method for one_box
+    
# S3 method for one_box
 plot(x, xlim = range(time(x)), ylim = c(0, max(x)),
   xlab = "Time", ylab = "Residue", max_twa = NULL,
   max_twa_var = dimnames(x)[[2]][1], ...)

Arguments

-
-
x
-
The object of type one_box to be plotted
-
xlim
-
Limits for the x axis
-
ylim
-
Limits for the y axis
-
xlab
-
Label for the x axis
-
ylab
-
Label for the y axis
-
max_twa
-
If a numeric value is given, the maximum time weighted -average concentration(s) is/are shown in the graph.
-
max_twa_var
-
Variable for which the maximum time weighted average should -be shown if max_twa is not NULL.
-
...
-
Further arguments passed to methods
-
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
x

The object of type one_box to be plotted

xlim

Limits for the x axis

ylim

Limits for the y axis

xlab

Label for the x axis

ylab

Label for the y axis

max_twa

If a numeric value is given, the maximum time weighted +average concentration(s) is/are shown in the graph.

max_twa_var

Variable for which the maximum time weighted average should +be shown if max_twa is not NULL.

...

Further arguments passed to methods

See also

diff --git a/docs/reference/read.TOXSWA_cwa.html b/docs/reference/read.TOXSWA_cwa.html index 3afec9c..30e29cd 100644 --- a/docs/reference/read.TOXSWA_cwa.html +++ b/docs/reference/read.TOXSWA_cwa.html @@ -25,12 +25,14 @@ - + + + @@ -77,37 +79,54 @@ segment are imported. As TOXSWA 4 reports the values at the end of the hour of the hourly averages (ConLiqWatLay).

-
read.TOXSWA_cwa(filename, basedir = ".", zipfile = NULL, segment = "last",
+    
read.TOXSWA_cwa(filename, basedir = ".", zipfile = NULL, segment = "last",
   substance = "parent", total = FALSE, windows = NULL,
   thresholds = NULL)

Arguments

-
-
filename
-
The filename of the cwa file (TOXSWA 2.x.y or similar) or the -out file (FOCUS TOXSWA 4, i.e. TOXSWA 4.4.2 or similar).
-
basedir
-
The path to the directory where the cwa file resides.
-
zipfile
-
Optional path to a zip file containing the cwa file.
-
segment
-
The segment for which the data should be read. Either "last", or -the segment number.
-
substance
-
For TOXSWA 4 .out files, the default value "parent" leads + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
filename

The filename of the cwa file (TOXSWA 2.x.y or similar) or the +out file (FOCUS TOXSWA 4, i.e. TOXSWA 4.4.2 or similar).

basedir

The path to the directory where the cwa file resides.

zipfile

Optional path to a zip file containing the cwa file.

segment

The segment for which the data should be read. Either "last", or +the segment number.

substance

For TOXSWA 4 .out files, the default value "parent" leads to reading concentrations of the parent compound. Alternatively, the substance -of interested can be selected by its code name. -

total
-
Set this to TRUE in order to read total concentrations as well. This is +of interested can be selected by its code name.

total

Set this to TRUE in order to read total concentrations as well. This is only necessary for .out files as generated by TOXSWA 4.4.2 or similar, not for .cwa -files. For .cwa files, the total concentration is always read as well. -

windows
-
Numeric vector of width of moving windows in days, for calculating -maximum time weighted average concentrations and areas under the curve.
-
thresholds
-
Numeric vector of threshold concentrations in µg/L for -generating event statistics.
- +files. For .cwa files, the total concentration is always read as well.

windows

Numeric vector of width of moving windows in days, for calculating +maximum time weighted average concentrations and areas under the curve.

thresholds

Numeric vector of threshold concentrations in µg/L for +generating event statistics.

Value

diff --git a/docs/reference/run_PELMO.html b/docs/reference/run_PELMO.html deleted file mode 100644 index 067d3c1..0000000 --- a/docs/reference/run_PELMO.html +++ /dev/null @@ -1,119 +0,0 @@ - - - - - - - - -Run PELMO — run_PELMO • pfm - - - - - - - - - - - - - - - - - - - - - - - - -
-
- - - -
- -
-
- - - -

Run PELMO

- - -
run_PELMO(runs, version = "5.5.3", PELMO_base = "auto",
-  cores = getOption("mc.cores", 2L))
- -

Arguments

-
-
runs
-
A list of lists. Each inner lists has an element named 'psm' -that holds the psm string, and elements named using three letter crop acronyms, -as used in FOCUS_PELMO_crops, -that hold character vectors of three letter scenario acronyms -as used in FOCUS_GW_scenarios_2012.
-
version
-
The FOCUS PELMO version
-
PELMO_base
-
Where the FOCUS PELMO installation is located
-
cores
-
The number of cores to execute PELMO runs in parallel
-
- - -
- -
- -
- - -
-

Site built with pkgdown.

-
- -
-
- - - diff --git a/docs/reference/sawtooth-8.png b/docs/reference/sawtooth-8.png deleted file mode 100644 index 161ecb4..0000000 Binary files a/docs/reference/sawtooth-8.png and /dev/null differ diff --git a/docs/reference/sawtooth.html b/docs/reference/sawtooth.html index be43745..0d5c9a9 100644 --- a/docs/reference/sawtooth.html +++ b/docs/reference/sawtooth.html @@ -25,12 +25,14 @@ - + + + @@ -75,22 +77,31 @@ application pattern specified in applications is repeated ni.

-
sawtooth(x, n = 1, i = 365, applications = data.frame(time = seq(0, 0 + n
+    
sawtooth(x, n = 1, i = 365, applications = data.frame(time = seq(0, 0 + n
   * i, length.out = n), amount = 1))

Arguments

-
-
x
-
A one_box object
-
n
-
The number of applications. If applications is specified, n is ignored
-
i
-
The interval between applications. If applications is specified, i -is ignored
-
applications
-
A data frame holding the application times in the first column and -the corresponding amounts applied in the second column.
-
+ + + + + + + + + + + + + + + + + + +
x

A one_box object

n

The number of applications. If applications is specified, n is ignored

i

The interval between applications. If applications is specified, i +is ignored

applications

A data frame holding the application times in the first column and +the corresponding amounts applied in the second column.

Examples

diff --git a/docs/reference/soil_scenario_data_EFSA_2015.html b/docs/reference/soil_scenario_data_EFSA_2015.html index f842d08..39841ed 100644 --- a/docs/reference/soil_scenario_data_EFSA_2015.html +++ b/docs/reference/soil_scenario_data_EFSA_2015.html @@ -25,12 +25,14 @@ - + + + @@ -92,24 +94,24 @@ doi:10.2903/j.efsa.2015.4093

Examples

-
## Not run: ------------------------------------ -# # This is the code that was used to define the data -# soil_scenario_data_EFSA_2015 <- data.frame( -# Zone = rep(c("North", "Central", "South"), 2), -# Country = c("Estonia", "Germany", "France", "Denmark", "Czech Republik", "Spain"), -# T_arit = c(4.7, 8.0, 11.0, 8.2, 9.1, 12.8), -# T_arr = c(7.0, 10.1, 12.3, 9.8, 11.2, 14.7), -# Texture = c("Coarse", "Coarse", "Medium fine", "Medium", "Medium", "Medium"), -# f_om = c(0.118, 0.086, 0.048, 0.023, 0.018, 0.011), -# theta_fc = c(0.244, 0.244, 0.385, 0.347, 0.347, 0.347), -# rho = c(0.95, 1.05, 1.22, 1.39, 1.43, 1.51), -# f_sce = c(3, 2, 2, 2, 1.5, 1.5), -# f_mod = c(2, 2, 2, 4, 4, 4), -# stringsAsFactors = FALSE, -# row.names = c("CTN", "CTC", "CTS", "CLN", "CLC", "CLS") -# ) -# save(soil_scenario_data_EFSA_2015, file = '../data/soil_scenario_data_EFSA_2015.RData') -## --------------------------------------------- +
not_run({ + # This is the code that was used to define the data + soil_scenario_data_EFSA_2015 <- data.frame( + Zone = rep(c("North", "Central", "South"), 2), + Country = c("Estonia", "Germany", "France", "Denmark", "Czech Republik", "Spain"), + T_arit = c(4.7, 8.0, 11.0, 8.2, 9.1, 12.8), + T_arr = c(7.0, 10.1, 12.3, 9.8, 11.2, 14.7), + Texture = c("Coarse", "Coarse", "Medium fine", "Medium", "Medium", "Medium"), + f_om = c(0.118, 0.086, 0.048, 0.023, 0.018, 0.011), + theta_fc = c(0.244, 0.244, 0.385, 0.347, 0.347, 0.347), + rho = c(0.95, 1.05, 1.22, 1.39, 1.43, 1.51), + f_sce = c(3, 2, 2, 2, 1.5, 1.5), + f_mod = c(2, 2, 2, 4, 4, 4), + stringsAsFactors = FALSE, + row.names = c("CTN", "CTC", "CTS", "CLN", "CLC", "CLS") + ) + save(soil_scenario_data_EFSA_2015, file = '../data/soil_scenario_data_EFSA_2015.RData') +}) # And this is the resulting dataframe soil_scenario_data_EFSA_2015
#> Zone Country T_arit T_arr Texture f_om theta_fc rho f_sce diff --git a/docs/reference/sum_periods.html b/docs/reference/sum_periods.html index 66466ac..147a698 100644 --- a/docs/reference/sum_periods.html +++ b/docs/reference/sum_periods.html @@ -25,12 +25,14 @@ - + + + @@ -73,13 +75,27 @@

Sum up values according to FOCUS periods

-
sum_periods(annual, interval)
- +
sum_periods(annual, interval)
+ +

Arguments

+ + + + + + + + + + +
annual

The annual flux as obtained by get_flux

interval

The interval in years

+
diff --git a/docs/reference/twa.html b/docs/reference/twa.html index 414b372..32fa459 100644 --- a/docs/reference/twa.html +++ b/docs/reference/twa.html @@ -25,12 +25,14 @@ - + + + @@ -75,18 +77,23 @@ the earliest possible time for the maximum in the time series returned is after one window has passed.

-
twa(x, window = 21)
+    
twa(x, window = 21)
 
 # S3 method for one_box
 twa(x, window = 21)

Arguments

-
-
x
-
An object of type one_box
-
window
-
The size of the moving window
-
+ + + + + + + + + + +
x

An object of type one_box

window

The size of the moving window

See also

-- cgit v1.2.1