From e5d1df9a9b1f0951d7dfbaf24eee4294470b73e2 Mon Sep 17 00:00:00 2001 From: Johannes Ranke Date: Thu, 17 Nov 2022 14:54:20 +0100 Subject: Complete update of online docs for v1.2.0 --- docs/reference/create_deg_func.html | 73 +++++++++++++++++++++---------------- 1 file changed, 42 insertions(+), 31 deletions(-) (limited to 'docs/reference/create_deg_func.html') diff --git a/docs/reference/create_deg_func.html b/docs/reference/create_deg_func.html index b85acb7a..b93f1c4a 100644 --- a/docs/reference/create_deg_func.html +++ b/docs/reference/create_deg_func.html @@ -17,7 +17,7 @@ mkin - 1.1.0 + 1.2.0 @@ -44,11 +44,14 @@ Example evaluations of dimethenamid data from 2018 with nonlinear mixed-effects models
  • - Example evaluation of FOCUS Example Dataset Z + Short demo of the multistart method
  • Performance benefit by using compiled model definitions in mkin
  • +
  • + Example evaluation of FOCUS Example Dataset Z +
  • Calculation of time weighted average concentrations with mkin
  • @@ -56,7 +59,10 @@ Example evaluation of NAFTA SOP Attachment examples
  • - Some benchmark timings + Benchmark timings for mkin +
  • +
  • + Benchmark timings for saem.mmkin
  • @@ -87,59 +93,64 @@
    -
    create_deg_func(spec, use_of_ff = c("min", "max"))
    +
    create_deg_func(spec, use_of_ff = c("min", "max"))

    Arguments

    spec

    List of model specifications as contained in mkinmod objects

    + +
    use_of_ff

    Minimum or maximum use of formation fractions

    +

    Value

    -

    Degradation function to be attached to mkinmod objects

    + + +

    Degradation function to be attached to mkinmod objects

    Examples

    -
    
    -SFO_SFO <- mkinmod(
    -  parent = mkinsub("SFO", "m1"),
    -  m1 = mkinsub("SFO"))
    +    
    
    +SFO_SFO <- mkinmod(
    +  parent = mkinsub("SFO", "m1"),
    +  m1 = mkinsub("SFO"))
     #> Temporary DLL for differentials generated and loaded
    -FOCUS_D <- subset(FOCUS_2006_D, value != 0) # to avoid warnings
    -fit_1 <- mkinfit(SFO_SFO, FOCUS_D, solution_type = "analytical", quiet = TRUE)
    -# \dontrun{
    -fit_2 <- mkinfit(SFO_SFO, FOCUS_D, solution_type = "deSolve", quiet = TRUE)
    -if (require(rbenchmark))
    -  benchmark(
    -    analytical = mkinfit(SFO_SFO, FOCUS_D, solution_type = "analytical", quiet = TRUE),
    -    deSolve = mkinfit(SFO_SFO, FOCUS_D, solution_type = "deSolve", quiet = TRUE),
    -    replications = 2)
    +FOCUS_D <- subset(FOCUS_2006_D, value != 0) # to avoid warnings
    +fit_1 <- mkinfit(SFO_SFO, FOCUS_D, solution_type = "analytical", quiet = TRUE)
    +# \dontrun{
    +fit_2 <- mkinfit(SFO_SFO, FOCUS_D, solution_type = "deSolve", quiet = TRUE)
    +if (require(rbenchmark))
    +  benchmark(
    +    analytical = mkinfit(SFO_SFO, FOCUS_D, solution_type = "analytical", quiet = TRUE),
    +    deSolve = mkinfit(SFO_SFO, FOCUS_D, solution_type = "deSolve", quiet = TRUE),
    +    replications = 2)
     #> Loading required package: rbenchmark
     #>         test replications elapsed relative user.self sys.self user.child
    -#> 1 analytical            2   0.401     1.00     0.401    0.000          0
    -#> 2    deSolve            2   1.211     3.02     1.210    0.002          0
    +#> 1 analytical            2   0.445    1.000     0.444        0          0
    +#> 2    deSolve            2   0.693    1.557     0.692        0          0
     #>   sys.child
     #> 1         0
     #> 2         0
    -  DFOP_SFO <- mkinmod(
    -    parent = mkinsub("DFOP", "m1"),
    -    m1 = mkinsub("SFO"))
    +  DFOP_SFO <- mkinmod(
    +    parent = mkinsub("DFOP", "m1"),
    +    m1 = mkinsub("SFO"))
     #> Temporary DLL for differentials generated and loaded
    -  benchmark(
    -    analytical = mkinfit(DFOP_SFO, FOCUS_D, solution_type = "analytical", quiet = TRUE),
    -    deSolve = mkinfit(DFOP_SFO, FOCUS_D, solution_type = "deSolve", quiet = TRUE),
    -    replications = 2)
    +  benchmark(
    +    analytical = mkinfit(DFOP_SFO, FOCUS_D, solution_type = "analytical", quiet = TRUE),
    +    deSolve = mkinfit(DFOP_SFO, FOCUS_D, solution_type = "deSolve", quiet = TRUE),
    +    replications = 2)
     #>         test replications elapsed relative user.self sys.self user.child
    -#> 1 analytical            2    0.84    1.000     0.839    0.001          0
    -#> 2    deSolve            2    3.19    3.798     3.188    0.001          0
    +#> 1 analytical            2   0.871    1.000     0.871        0          0
    +#> 2    deSolve            2   1.519    1.744     1.519        0          0
     #>   sys.child
     #> 1         0
     #> 2         0
    -# }
    +# }
     
    @@ -154,7 +165,7 @@
    -

    Site built with pkgdown 2.0.3.

    +

    Site built with pkgdown 2.0.6.

    -- cgit v1.2.1