From af2e1540cdad2fd00bb6216a38a754ff748629ad Mon Sep 17 00:00:00 2001 From: Johannes Ranke Date: Fri, 25 Oct 2019 02:10:08 +0200 Subject: Static documentation rebuilt by pkgdown --- docs/reference/add_err.html | 65 ++++++++++++++++++++++----------------------- 1 file changed, 32 insertions(+), 33 deletions(-) (limited to 'docs/reference/add_err.html') diff --git a/docs/reference/add_err.html b/docs/reference/add_err.html index eeaf9e5b..67789694 100644 --- a/docs/reference/add_err.html +++ b/docs/reference/add_err.html @@ -8,11 +8,13 @@ Add normally distributed errors to simulated kinetic degradation data — add_err • mkin + + @@ -32,15 +34,16 @@ - + +degradation model using mkinpredict. The variance of the error +may depend on the predicted value and is specified as a standard deviation." /> + @@ -111,7 +114,6 @@ News - @@ -133,33 +135,32 @@
-

Normally distributed errors are added to data predicted for a specific - degradation model using mkinpredict. The variance of the error - may depend on the predicted value and is specified as a standard deviation.

- +degradation model using mkinpredict. The variance of the error +may depend on the predicted value and is specified as a standard deviation.

-
add_err(prediction, sdfunc, secondary = c("M1", "M2"),
-          n = 1000, LOD = 0.1, reps = 2,
-          digits = 1, seed = NA)
- +
add_err(prediction, sdfunc, secondary = c("M1", "M2"), n = 1000,
+  LOD = 0.1, reps = 2, digits = 1, seed = NA)
+

Arguments

- + - + - + @@ -167,8 +168,8 @@ - + @@ -180,25 +181,25 @@ - +
prediction

A prediction from a kinetic model as produced by mkinpredict.

A prediction from a kinetic model as produced by +mkinpredict.

sdfunc

A function taking the predicted value as its only argument and returning - a standard deviation that should be used for generating the random error - terms for this value.

A function taking the predicted value as its only argument and +returning a standard deviation that should be used for generating the +random error terms for this value.

secondary

The names of state variables that should have an initial value of zero

The names of state variables that should have an initial +value of zero

n
LOD

The limit of detection (LOD). Values that are below the LOD after adding - the random error will be set to NA.

The limit of detection (LOD). Values that are below the LOD after +adding the random error will be set to NA.

reps
seed

The seed used for the generation of random numbers. If NA, the seed - is not set.

The seed used for the generation of random numbers. If NA, the +seed is not set.

- +

Value

-

A list of datasets compatible with mmkin, i.e. - the components of the list are datasets compatible with - mkinfit.

- +

A list of datasets compatible with mmkin, i.e. the + components of the list are datasets compatible with mkinfit.

References

-

Ranke J and Lehmann R (2015) To t-test or not to t-test, that is the question. XV Symposium on Pesticide Chemistry 2-4 September 2015, Piacenza, Italy - http://chem.uft.uni-bremen.de/ranke/posters/piacenza_2015.pdf

- +

Ranke J and Lehmann R (2015) To t-test or not to t-test, that is +the question. XV Symposium on Pesticide Chemistry 2-4 September 2015, +Piacenza, Italy +http://chem.uft.uni-bremen.de/ranke/posters/piacenza_2015.pdf

Examples

-
# The kinetic model +
+# The kinetic model m_SFO_SFO <- mkinmod(parent = mkinsub("SFO", "M1"), M1 = mkinsub("SFO"), use_of_ff = "max")
#> Successfully compiled differential equation model from auto-generated C code.
# Generate a prediction for a specific set of parameters @@ -235,17 +236,15 @@ # If we use single brackets, we should give two indices (model and dataset), # and plot.mmkin is used plot(f_SFO_SFO[1, 3])
# } +