Stepwise Covariate Model-selection (SCM) method

covarSearchAuto(
  fit,
  varsVec,
  covarsVec,
  pVal = list(fwd = 0.05, bck = 0.01),
  covInformation = NULL,
  catCovariates = NULL,
  searchType = c("scm", "forward", "backward"),
  restart = FALSE
)

Arguments

fit

an nlmixr 'fit' object

varsVec

a list of candidate variables to which the covariates could be added

covarsVec

a list of candidate covariates that need to be tested

pVal

a named list with names 'fwd' and 'bck' for specifying the p-values for the forward and backward searches, respectively

covInformation

a list containing additionl information on the variables-covariates pairs that should be passed on to addCovMultiple function

catCovariates

a list of covariates that should be treated as categorical

searchType

one of 'scm', 'forward' and 'backward' to specify the covariate search method; default is 'scm'

restart

a boolean that controls if the search should be restarted; default is FALSE

Value

A list summarizing the covariate selection steps and output; This list has the "summaryTable" for the overall summary of the covariate selection as well as "resFwd" for the forward selection method and "resBck" for the backward selection method.

Author

Vipul Mann, Matthew Fidler

Examples


# \donttest{

one.cmt <- function() {
  ini({
    ## You may label each parameter with a comment
    tka <- 0.45 # Log Ka
    tcl <- log(c(0, 2.7, 100)) # Log Cl
    ## This works with interactive models
    ## You may also label the preceding line with label("label text")
    tv <- 3.45; label("log V")
    ## the label("Label name") works with all models
    eta.ka ~ 0.6
    eta.cl ~ 0.3
    eta.v ~ 0.1
    add.sd <- 0.7
  })
  model({
    ka <- exp(tka + eta.ka)
    cl <- exp(tcl + eta.cl)
    v <- exp(tv + eta.v)
    linCmt() ~ add(add.sd)
  })
}

fit <- nlmixr(one.cmt, theo_sd,"focei")
#>  parameter labels from comments will be replaced by 'label()'
#> Key: U: Unscaled Parameters; X: Back-transformed parameters; G: Gill difference gradient approximation
#> F: Forward difference gradient approximation
#> C: Central difference gradient approximation
#> M: Mixed forward and central difference gradient approximation
#> Unscaled parameters for Omegas=chol(solve(omega));
#> Diagonals are transformed, as specified by foceiControl(diagXform=)
#> |-----+---------------+-----------+-----------+-----------+-----------|
#> |    #| Objective Fun |       tka |       tcl |        tv |    add.sd |
#> |.....................|        o1 |        o2 |        o3 |...........|
#> |    1|     133.57512 |    -1.000 |   -0.6378 |     1.000 |   -0.8333 |
#> |.....................|   -0.5425 |   -0.3992 |   -0.1145 |...........|
#> |    U|     133.57512 |    0.4500 |    0.9933 |     3.450 |    0.7000 |
#> |.....................|     1.136 |     1.351 |     1.778 |...........|
#> |    X|     133.57512 |     1.568 |     2.700 |     31.50 |    0.7000 |
#> |.....................|     1.136 |     1.351 |     1.778 |...........|
#> |    G|    Gill Diff. |   -0.9310 |    -1.614 |    -3.052 |     1.489 |
#> |.....................|    -11.77 |    -35.22 |    -34.65 |...........|
#> |    2|     122.58351 |   -0.9817 |   -0.6061 |     1.060 |   -0.8626 |
#> |.....................|   -0.3115 |    0.2923 |    0.5657 |...........|
#> |    U|     122.58351 |    0.4683 |     1.025 |     3.510 |    0.6898 |
#> |.....................|     1.399 |     2.286 |     2.988 |...........|
#> |    X|     122.58351 |     1.597 |     2.787 |     33.45 |    0.6898 |
#> |.....................|     1.399 |     2.286 |     2.988 |...........|
#> |    F| Forward Diff. |   -0.9208 |     14.80 |     70.18 |    -4.750 |
#> |.....................|     14.04 |     16.79 |     14.00 |...........|
#> |    3|     691.84544 |   -0.9592 |   -0.7976 |    0.1045 |   -0.8111 |
#> |.....................|   -0.3877 |    0.4188 |    0.7256 |...........|
#> |    U|     691.84544 |    0.4908 |    0.8334 |     2.555 |    0.7078 |
#> |.....................|     1.312 |     2.457 |     3.272 |...........|
#> |    X|     691.84544 |     1.634 |     2.301 |     12.86 |    0.7078 |
#> |.....................|     1.312 |     2.457 |     3.272 |...........|
#> |    4|     121.01943 |   -0.9805 |   -0.6255 |    0.9681 |   -0.8563 |
#> |.....................|   -0.3298 |    0.2703 |    0.5474 |...........|
#> |    U|     121.01943 |    0.4695 |     1.006 |     3.418 |    0.6919 |
#> |.....................|     1.378 |     2.256 |     2.955 |...........|
#> |    X|     121.01943 |     1.599 |     2.733 |     30.51 |    0.6919 |
#> |.....................|     1.378 |     2.256 |     2.955 |...........|
#> |    F| Forward Diff. |     2.645 |    -6.905 |    -53.14 |    -2.619 |
#> |.....................|     13.01 |     15.52 |     9.407 |...........|
#> |    5|     118.40517 |   -0.9856 |   -0.6239 |     1.019 |   -0.8465 |
#> |.....................|   -0.3725 |    0.2112 |    0.5033 |...........|
#> |    U|     118.40517 |    0.4644 |     1.007 |     3.469 |    0.6954 |
#> |.....................|     1.329 |     2.176 |     2.877 |...........|
#> |    X|     118.40517 |     1.591 |     2.738 |     32.11 |    0.6954 |
#> |.....................|     1.329 |     2.176 |     2.877 |...........|
#> |    F| Forward Diff. |   0.01446 |  -0.08437 |     11.58 |    -1.274 |
#> |.....................|     7.438 |     11.23 |     6.705 |...........|
#> |    6|     117.95103 |   -0.9860 |   -0.6177 |    0.9748 |   -0.8409 |
#> |.....................|   -0.4130 |    0.1436 |    0.4616 |...........|
#> |    U|     117.95103 |    0.4640 |     1.013 |     3.425 |    0.6974 |
#> |.....................|     1.283 |     2.085 |     2.803 |...........|
#> |    X|     117.95103 |     1.590 |     2.755 |     30.72 |    0.6974 |
#> |.....................|     1.283 |     2.085 |     2.803 |...........|
#> |    F| Forward Diff. |     1.122 |    -2.127 |    -37.09 |    0.7428 |
#> |.....................|     3.053 |     7.161 |     4.251 |...........|
#> |    7|     117.25799 |   -0.9800 |   -0.6240 |     1.034 |   -0.8751 |
#> |.....................|   -0.4267 |  -0.01400 |    0.3605 |...........|
#> |    U|     117.25799 |    0.4700 |     1.007 |     3.484 |    0.6854 |
#> |.....................|     1.268 |     1.872 |     2.623 |...........|
#> |    X|     117.25799 |     1.600 |     2.738 |     32.59 |    0.6854 |
#> |.....................|     1.268 |     1.872 |     2.623 |...........|
#> |    F| Forward Diff. |   -0.1764 |   -0.2027 |     20.89 |    -2.826 |
#> |.....................|     1.639 |    -4.242 |    -1.326 |...........|
#> |    8|     118.77223 |   -0.9990 |   -0.5552 |     1.021 |   -0.7597 |
#> |.....................|   -0.5480 |   0.06586 |    0.3424 |...........|
#> |    U|     118.77223 |    0.4510 |     1.076 |     3.471 |    0.7258 |
#> |.....................|     1.130 |     1.980 |     2.591 |...........|
#> |    X|     118.77223 |     1.570 |     2.933 |     32.18 |    0.7258 |
#> |.....................|     1.130 |     1.980 |     2.591 |...........|
#> |    9|     116.94266 |   -0.9818 |   -0.6162 |     1.003 |   -0.8584 |
#> |.....................|   -0.4424 | 0.0008404 |    0.3604 |...........|
#> |    U|     116.94266 |    0.4682 |     1.015 |     3.453 |    0.6912 |
#> |.....................|     1.250 |     1.892 |     2.623 |...........|
#> |    X|     116.94266 |     1.597 |     2.759 |     31.58 |    0.6912 |
#> |.....................|     1.250 |     1.892 |     2.623 |...........|
#> |    F| Forward Diff. |    0.3581 |    0.3016 |    -6.519 |   -0.6550 |
#> |.....................|   -0.1664 |    -3.271 |    -2.106 |...........|
#> |   10|     116.91245 |   -0.9864 |   -0.6219 |     1.016 |   -0.8402 |
#> |.....................|   -0.4667 |   0.02122 |    0.3750 |...........|
#> |    U|     116.91245 |    0.4636 |     1.009 |     3.466 |    0.6976 |
#> |.....................|     1.222 |     1.919 |     2.649 |...........|
#> |    X|     116.91245 |     1.590 |     2.743 |     32.01 |    0.6976 |
#> |.....................|     1.222 |     1.919 |     2.649 |...........|
#> |    F| Forward Diff. |   -0.2371 |   -0.4719 |     5.611 |     1.059 |
#> |.....................|    -3.599 |    -1.622 |    -1.035 |...........|
#> |   11|     116.81816 |   -0.9941 |   -0.6127 |     1.010 |   -0.8443 |
#> |.....................|   -0.4335 |   0.03146 |    0.3946 |...........|
#> |    U|     116.81816 |    0.4559 |     1.018 |     3.460 |    0.6962 |
#> |.....................|     1.260 |     1.933 |     2.684 |...........|
#> |    X|     116.81816 |     1.578 |     2.769 |     31.81 |    0.6962 |
#> |.....................|     1.260 |     1.933 |     2.684 |...........|
#> |    F| Forward Diff. |   -0.3867 |     1.747 |    0.7282 |    0.5892 |
#> |.....................|    0.4773 |   -0.6756 |   -0.3445 |...........|
#> |   12|     117.02994 |   -0.9866 |   -0.6462 |    0.9959 |   -0.8556 |
#> |.....................|   -0.4427 |   0.04440 |    0.4012 |...........|
#> |    U|     117.02994 |    0.4634 |    0.9849 |     3.446 |    0.6922 |
#> |.....................|     1.250 |     1.951 |     2.695 |...........|
#> |    X|     117.02994 |     1.589 |     2.678 |     31.37 |    0.6922 |
#> |.....................|     1.250 |     1.951 |     2.695 |...........|
#> |   13|     116.81116 |   -0.9929 |   -0.6178 |     1.008 |   -0.8460 |
#> |.....................|   -0.4349 |   0.03344 |    0.3956 |...........|
#> |    U|     116.81116 |    0.4571 |     1.013 |     3.458 |    0.6956 |
#> |.....................|     1.258 |     1.936 |     2.685 |...........|
#> |    X|     116.81116 |     1.579 |     2.755 |     31.75 |    0.6956 |
#> |.....................|     1.258 |     1.936 |     2.685 |...........|
#> |    F| Forward Diff. |   -0.3035 |    0.1729 |    -1.603 |    0.4734 |
#> |.....................|    0.2828 |   -0.6593 |   -0.2093 |...........|
#> |   14|     116.80954 |   -0.9909 |   -0.6181 |     1.012 |   -0.8492 |
#> |.....................|   -0.4362 |   0.03612 |    0.3960 |...........|
#> |    U|     116.80954 |    0.4591 |     1.013 |     3.462 |    0.6945 |
#> |.....................|     1.257 |     1.939 |     2.686 |...........|
#> |    X|     116.80954 |     1.583 |     2.754 |     31.88 |    0.6945 |
#> |.....................|     1.257 |     1.939 |     2.686 |...........|
#> |    F| Forward Diff. |   -0.2983 |    0.3827 |     2.513 |    0.1308 |
#> |.....................|    0.1027 |   -0.5155 |   -0.1330 |...........|
#> |   15|     116.80580 |   -0.9880 |   -0.6174 |     1.009 |   -0.8523 |
#> |.....................|   -0.4382 |   0.03870 |    0.3956 |...........|
#> |    U|      116.8058 |    0.4620 |     1.014 |     3.459 |    0.6934 |
#> |.....................|     1.255 |     1.943 |     2.685 |...........|
#> |    X|      116.8058 |     1.587 |     2.756 |     31.77 |    0.6934 |
#> |.....................|     1.255 |     1.943 |     2.685 |...........|
#> |    F| Forward Diff. |  -0.05904 |    0.3941 |   -0.7825 |   -0.1329 |
#> |.....................|  -0.04679 |   -0.3189 |  -0.09134 |...........|
#> |   16|     116.80460 |   -0.9844 |   -0.6192 |     1.010 |   -0.8498 |
#> |.....................|   -0.4363 |   0.04096 |    0.3925 |...........|
#> |    U|      116.8046 |    0.4656 |     1.012 |     3.460 |    0.6942 |
#> |.....................|     1.257 |     1.946 |     2.680 |...........|
#> |    X|      116.8046 |     1.593 |     2.751 |     31.81 |    0.6942 |
#> |.....................|     1.257 |     1.946 |     2.680 |...........|
#> |    F| Forward Diff. |    0.1014 |  -0.01637 |    0.1336 |  -0.03561 |
#> |.....................|    0.1833 |  -0.08332 |   -0.2624 |...........|
#> |   17|     116.80396 |   -0.9844 |   -0.6189 |     1.010 |   -0.8485 |
#> |.....................|   -0.4384 |   0.04095 |    0.3984 |...........|
#> |    U|     116.80396 |    0.4656 |     1.012 |     3.460 |    0.6947 |
#> |.....................|     1.255 |     1.946 |     2.690 |...........|
#> |    X|     116.80396 |     1.593 |     2.752 |     31.81 |    0.6947 |
#> |.....................|     1.255 |     1.946 |     2.690 |...........|
#> |    F| Forward Diff. |    0.1049 |   0.04687 |    0.2751 |  -0.09583 |
#> |.....................|  -0.09949 |   -0.1553 |   0.08188 |...........|
#> |   18|     116.80396 |   -0.9844 |   -0.6189 |     1.010 |   -0.8485 |
#> |.....................|   -0.4384 |   0.04095 |    0.3984 |...........|
#> |    U|     116.80396 |    0.4656 |     1.012 |     3.460 |    0.6947 |
#> |.....................|     1.255 |     1.946 |     2.690 |...........|
#> |    X|     116.80396 |     1.593 |     2.752 |     31.81 |    0.6947 |
#> |.....................|     1.255 |     1.946 |     2.690 |...........|
#> calculating covariance matrix
#> done
#> Calculating residuals/tables
#> done
#> Warning: initial ETAs were nudged; (can control by foceiControl(etaNudge=., etaNudge2=))
#> Warning: ETAs were reset to zero during optimization; (Can control by foceiControl(resetEtaP=.))
#> Warning: last objective function was not at minimum, possible problems in optimization
#> Warning: gradient problems with initial estimate and covariance; see $scaleInfo
RxODE::.rxWithWd(tempdir(), {# with temporary directory

covarSearchAuto(fit, varsVec = c("ka", "cl"),
    covarsVec = c("WT", "SEX"), catCovariates = c("SEX"))

})
#> Warning: some covariates are not in the dataset: 'WT', ''
#> 
#> ── starting forward search... ──────────────────────────────────────────────────
#>  added centered_WT*cov_WT_ka to ka's equation in the model
#>  updated value: ka<-exp(tka+centered_WT*cov_WT_ka+eta.ka)
#> → creating full model...
#> → pruning branches (`if`/`else`)...
#>  done
#> → loading into symengine environment...
#>  done
#> → creating full model...
#> → pruning branches (`if`/`else`)...
#>  done
#> → loading into symengine environment...
#>  done
#> → calculate jacobian
#> 
#> → calculate ∂(f)/∂(η)
#> 
#> → calculate ∂(R²)/∂(η)
#> 
#> → finding duplicate expressions in inner model...
#> 
#> → optimizing duplicate expressions in inner model...
#> 
#> → finding duplicate expressions in EBE model...
#> 
#> → optimizing duplicate expressions in EBE model...
#> 
#> → compiling inner model...
#>  
#>  done
#> → finding duplicate expressions in FD model...
#> 
#> → compiling EBE model...
#>  
#>  done
#> → compiling events FD model...
#>  
#>  done
#> Key: U: Unscaled Parameters; X: Back-transformed parameters; G: Gill difference gradient approximation
#> F: Forward difference gradient approximation
#> C: Central difference gradient approximation
#> M: Mixed forward and central difference gradient approximation
#> Unscaled parameters for Omegas=chol(solve(omega));
#> Diagonals are transformed, as specified by foceiControl(diagXform=)
#> |-----+---------------+-----------+-----------+-----------+-----------|
#> |    #| Objective Fun |       tka |       tcl |        tv |    add.sd |
#> |.....................|centered_WT | cov_WT_ka |        o1 |        o2 |
#> |.....................|        o3 |...........|...........|...........|
#> |    1|     133.57512 |   -0.7391 |   -0.4242 |     1.000 |   -0.5942 |
#> |.....................|   -0.4203 |    -1.000 |   -0.3413 |   -0.2167 |
#> |.....................|   0.03089 |...........|...........|...........|
#> |    U|     133.57512 |    0.4500 |    0.9933 |     3.450 |    0.7000 |
#> |.....................|     1.000 |     0.000 |     1.136 |     1.351 |
#> |.....................|     1.778 |...........|...........|...........|
#> |    X|     133.57512 |     1.568 |     2.700 |     31.50 |    0.7000 |
#> |.....................|     2.718 |     1.000 |     1.136 |     1.351 |
#> |.....................|     1.778 |...........|...........|...........|
#> |    G|    Gill Diff. |   -0.9310 |    -1.614 |    -3.052 |     1.592 |
#> |.....................| -0.001647 |   -0.9310 |    -11.76 |    -35.33 |
#> |.....................|    -34.78 |...........|...........|...........|
#> |    2|     122.55889 |   -0.7209 |   -0.3926 |     1.060 |   -0.6253 |
#> |.....................|   -0.4201 |   -0.9818 |   -0.1113 |    0.4746 |
#> |.....................|    0.7113 |...........|...........|...........|
#> |    U|     122.55889 |    0.4682 |     1.025 |     3.510 |    0.6891 |
#> |.....................|     1.000 |   0.01821 |     1.398 |     2.285 |
#> |.....................|     2.988 |...........|...........|...........|
#> |    X|     122.55889 |     1.597 |     2.787 |     33.44 |    0.6891 |
#> |.....................|     2.719 |     1.018 |     1.398 |     2.285 |
#> |.....................|     2.988 |...........|...........|...........|
#> |    F| Forward Diff. |    0.5842 |     14.90 |     69.23 |    -4.996 |
#> |.....................|   0.01727 |    0.5844 |     14.13 |     16.72 |
#> |.....................|     13.88 |...........|...........|...........|
#> |    3|     689.72878 |   -0.7198 |   -0.5885 |    0.1044 |   -0.5704 |
#> |.....................|   -0.4204 |   -0.9806 |   -0.1929 |    0.5964 |
#> |.....................|    0.8680 |...........|...........|...........|
#> |    U|     689.72878 |    0.4694 |    0.8290 |     2.554 |    0.7083 |
#> |.....................|    0.9999 |   0.01938 |     1.305 |     2.450 |
#> |.....................|     3.267 |...........|...........|...........|
#> |    X|     689.72878 |     1.599 |     2.291 |     12.86 |    0.7083 |
#> |.....................|     2.718 |     1.020 |     1.305 |     2.450 |
#> |.....................|     3.267 |...........|...........|...........|
#> |    4|     121.05405 |   -0.7217 |   -0.4123 |    0.9681 |   -0.6187 |
#> |.....................|   -0.4202 |   -0.9826 |   -0.1300 |    0.4525 |
#> |.....................|    0.6930 |...........|...........|...........|
#> |    U|     121.05405 |    0.4674 |     1.005 |     3.418 |    0.6914 |
#> |.....................|     1.000 |   0.01744 |     1.376 |     2.255 |
#> |.....................|     2.956 |...........|...........|...........|
#> |    X|     121.05405 |     1.596 |     2.732 |     30.51 |    0.6914 |
#> |.....................|     2.719 |     1.018 |     1.376 |     2.255 |
#> |.....................|     2.956 |...........|...........|...........|
#> |    F| Forward Diff. |     3.821 |    -6.971 |    -53.82 |    -3.083 |
#> |.....................|   0.06897 |     3.822 |     13.14 |     15.42 |
#> |.....................|     9.541 |...........|...........|...........|
#> |    5|     118.41289 |   -0.7303 |   -0.4110 |     1.020 |   -0.6078 |
#> |.....................|   -0.4203 |   -0.9912 |   -0.1727 |    0.3944 |
#> |.....................|    0.6495 |...........|...........|...........|
#> |    U|     118.41289 |    0.4588 |     1.006 |     3.470 |    0.6952 |
#> |.....................|     1.000 |  0.008846 |     1.328 |     2.177 |
#> |.....................|     2.878 |...........|...........|...........|
#> |    X|     118.41289 |     1.582 |     2.736 |     32.12 |    0.6952 |
#> |.....................|     2.718 |     1.009 |     1.328 |     2.177 |
#> |.....................|     2.878 |...........|...........|...........|
#> |    F| Forward Diff. |    0.2151 |   -0.3112 |     11.81 |    -1.196 |
#> |.....................|-0.0003315 |    0.2151 |     7.238 |     11.30 |
#> |.....................|     6.771 |...........|...........|...........|
#> |    6|     117.94241 |   -0.7313 |   -0.4032 |    0.9751 |   -0.6027 |
#> |.....................|   -0.4203 |   -0.9921 |   -0.2119 |    0.3265 |
#> |.....................|    0.6073 |...........|...........|...........|
#> |    U|     117.94241 |    0.4579 |     1.014 |     3.425 |    0.6970 |
#> |.....................|     1.000 |  0.007858 |     1.283 |     2.085 |
#> |.....................|     2.803 |...........|...........|...........|
#> |    X|     117.94241 |     1.581 |     2.757 |     30.73 |    0.6970 |
#> |.....................|     2.718 |     1.008 |     1.283 |     2.085 |
#> |.....................|     2.803 |...........|...........|...........|
#> |    F| Forward Diff. |     1.223 |    -1.769 |    -36.73 |    0.1954 |
#> |.....................|   0.01026 |     1.223 |     3.109 |     7.198 |
#> |.....................|     4.240 |...........|...........|...........|
#> |    7|     117.29163 |   -0.7147 |   -0.4120 |     1.035 |   -0.6315 |
#> |.....................|   -0.4197 |   -0.9756 |   -0.2241 |    0.1684 |
#> |.....................|    0.5083 |...........|...........|...........|
#> |    U|     117.29163 |    0.4744 |     1.005 |     3.485 |    0.6869 |
#> |.....................|     1.001 |   0.02440 |     1.269 |     1.872 |
#> |.....................|     2.627 |...........|...........|...........|
#> |    X|     117.29163 |     1.607 |     2.733 |     32.63 |    0.6869 |
#> |.....................|     2.720 |     1.025 |     1.269 |     1.872 |
#> |.....................|     2.627 |...........|...........|...........|
#> |    F| Forward Diff. |     1.446 |   -0.4010 |     21.43 |    -2.418 |
#> |.....................|   0.03203 |     1.446 |     1.709 |    -4.312 |
#> |.....................|    -1.103 |...........|...........|...........|
#> |    8|     118.34539 |   -0.8022 |   -0.3566 |     1.017 |   -0.5463 |
#> |.....................|   -0.4211 |    -1.063 |   -0.3198 |    0.2335 |
#> |.....................|    0.4827 |...........|...........|...........|
#> |    U|     118.34539 |    0.3869 |     1.061 |     3.467 |    0.7168 |
#> |.....................|    0.9992 |  -0.06309 |     1.161 |     1.959 |
#> |.....................|     2.582 |...........|...........|...........|
#> |    X|     118.34539 |     1.472 |     2.889 |     32.05 |    0.7168 |
#> |.....................|     2.716 |    0.9389 |     1.161 |     1.959 |
#> |.....................|     2.582 |...........|...........|...........|
#> |    9|     116.92750 |   -0.7336 |   -0.4007 |     1.004 |   -0.6118 |
#> |.....................|   -0.4200 |   -0.9945 |   -0.2449 |    0.1867 |
#> |.....................|    0.5048 |...........|...........|...........|
#> |    U|      116.9275 |    0.4555 |     1.017 |     3.454 |    0.6938 |
#> |.....................|     1.000 |  0.005504 |     1.246 |     1.896 |
#> |.....................|     2.621 |...........|...........|...........|
#> |    X|      116.9275 |     1.577 |     2.764 |     31.62 |    0.6938 |
#> |.....................|     2.719 |     1.006 |     1.246 |     1.896 |
#> |.....................|     2.621 |...........|...........|...........|
#> |    F| Forward Diff. |  -0.05021 |    0.8465 |    -5.302 |   0.06758 |
#> |.....................| 0.0005881 |  -0.05018 |   -0.8447 |    -2.947 |
#> |.....................|    -2.208 |...........|...........|...........|
#> |   10|     116.97980 |   -0.7359 |   -0.4236 |     1.017 |   -0.5998 |
#> |.....................|   -0.4201 |   -0.9968 |   -0.2743 |    0.2105 |
#> |.....................|    0.5318 |...........|...........|...........|
#> |    U|      116.9798 |    0.4532 |    0.9939 |     3.467 |    0.6980 |
#> |.....................|     1.000 |  0.003187 |     1.212 |     1.928 |
#> |.....................|     2.669 |...........|...........|...........|
#> |    X|      116.9798 |     1.573 |     2.702 |     32.04 |    0.6980 |
#> |.....................|     2.719 |     1.003 |     1.212 |     1.928 |
#> |.....................|     2.669 |...........|...........|...........|
#> |   11|     116.88481 |   -0.7341 |   -0.4079 |     1.016 |   -0.6088 |
#> |.....................|   -0.4200 |   -0.9950 |   -0.2511 |    0.1975 |
#> |.....................|    0.5152 |...........|...........|...........|
#> |    U|     116.88481 |    0.4550 |     1.010 |     3.466 |    0.6949 |
#> |.....................|     1.000 |  0.004992 |     1.239 |     1.911 |
#> |.....................|     2.640 |...........|...........|...........|
#> |    X|     116.88481 |     1.576 |     2.744 |     31.99 |    0.6949 |
#> |.....................|     2.719 |     1.005 |     1.239 |     1.911 |
#> |.....................|     2.640 |...........|...........|...........|
#> |    F| Forward Diff. |   -0.3847 |   -0.4337 |     5.029 |    0.2777 |
#> |.....................| -0.003050 |   -0.3847 |    -1.799 |    -2.259 |
#> |.....................|    -1.363 |...........|...........|...........|
#> |   12|     116.84034 |   -0.7267 |   -0.4050 |     1.007 |   -0.6133 |
#> |.....................|   -0.4199 |   -0.9876 |   -0.2423 |    0.2040 |
#> |.....................|    0.5266 |...........|...........|...........|
#> |    U|     116.84034 |    0.4624 |     1.012 |     3.457 |    0.6933 |
#> |.....................|     1.000 |   0.01240 |     1.249 |     1.920 |
#> |.....................|     2.660 |...........|...........|...........|
#> |    X|     116.84034 |     1.588 |     2.752 |     31.71 |    0.6933 |
#> |.....................|     2.719 |     1.012 |     1.249 |     1.920 |
#> |.....................|     2.660 |...........|...........|...........|
#> |    F| Forward Diff. |    0.6410 |  -0.07486 |    -3.047 |   -0.2440 |
#> |.....................|  0.007822 |    0.6412 |   -0.6095 |    -1.614 |
#> |.....................|   -0.9651 |...........|...........|...........|
#> |   13|     116.84764 |   -0.7345 |   -0.3949 |     1.014 |   -0.6124 |
#> |.....................|   -0.4200 |   -0.9953 |   -0.2306 |    0.2089 |
#> |.....................|    0.5316 |...........|...........|...........|
#> |    U|     116.84764 |    0.4547 |     1.023 |     3.464 |    0.6936 |
#> |.....................|     1.000 |  0.004678 |     1.262 |     1.926 |
#> |.....................|     2.669 |...........|...........|...........|
#> |    X|     116.84764 |     1.576 |     2.780 |     31.95 |    0.6936 |
#> |.....................|     2.719 |     1.005 |     1.262 |     1.926 |
#> |.....................|     2.669 |...........|...........|...........|
#> |   14|     116.83274 |   -0.7284 |   -0.4047 |     1.014 |   -0.6127 |
#> |.....................|   -0.4200 |   -0.9893 |   -0.2406 |    0.2081 |
#> |.....................|    0.5290 |...........|...........|...........|
#> |    U|     116.83274 |    0.4607 |     1.013 |     3.464 |    0.6935 |
#> |.....................|     1.000 |   0.01068 |     1.251 |     1.925 |
#> |.....................|     2.664 |...........|...........|...........|
#> |    X|     116.83274 |     1.585 |     2.753 |     31.95 |    0.6935 |
#> |.....................|     2.719 |     1.011 |     1.251 |     1.925 |
#> |.....................|     2.664 |...........|...........|...........|
#> |    F| Forward Diff. |    0.3015 |    0.4698 |     4.103 |   -0.2127 |
#> |.....................|  0.003996 |    0.3015 |   -0.4491 |    -1.365 |
#> |.....................|   -0.6394 |...........|...........|...........|
#> |   15|     116.81885 |   -0.7328 |   -0.4065 |     1.009 |   -0.6116 |
#> |.....................|   -0.4200 |   -0.9937 |   -0.2380 |    0.2103 |
#> |.....................|    0.5305 |...........|...........|...........|
#> |    U|     116.81885 |    0.4563 |     1.011 |     3.459 |    0.6939 |
#> |.....................|     1.000 |  0.006308 |     1.254 |     1.928 |
#> |.....................|     2.667 |...........|...........|...........|
#> |    X|     116.81885 |     1.578 |     2.748 |     31.77 |    0.6939 |
#> |.....................|     2.719 |     1.006 |     1.254 |     1.928 |
#> |.....................|     2.667 |...........|...........|...........|
#> |    F| Forward Diff. |  -0.04907 |   -0.4074 |    -1.148 |   -0.1127 |
#> |.....................|  0.002382 |  -0.04901 |   -0.1359 |    -1.150 |
#> |.....................|   -0.7174 |...........|...........|...........|
#> |   16|     116.81494 |   -0.7324 |   -0.4003 |     1.011 |   -0.6100 |
#> |.....................|   -0.4200 |   -0.9933 |   -0.2399 |    0.2155 |
#> |.....................|    0.5342 |...........|...........|...........|
#> |    U|     116.81494 |    0.4567 |     1.017 |     3.461 |    0.6945 |
#> |.....................|     1.000 |  0.006710 |     1.251 |     1.935 |
#> |.....................|     2.673 |...........|...........|...........|
#> |    X|     116.81494 |     1.579 |     2.765 |     31.84 |    0.6945 |
#> |.....................|     2.719 |     1.007 |     1.251 |     1.935 |
#> |.....................|     2.673 |...........|...........|...........|
#> |    F| Forward Diff. |  -0.02679 |     1.498 |     1.298 |   -0.1248 |
#> |.....................|-0.0006497 |  -0.02661 |   -0.4180 |   -0.8090 |
#> |.....................|   -0.4656 |...........|...........|...........|
#> |   17|     116.80810 |   -0.7314 |   -0.4075 |     1.009 |   -0.6077 |
#> |.....................|   -0.4200 |   -0.9923 |   -0.2402 |    0.2202 |
#> |.....................|    0.5369 |...........|...........|...........|
#> |    U|      116.8081 |    0.4577 |     1.010 |     3.459 |    0.6953 |
#> |.....................|     1.000 |  0.007690 |     1.251 |     1.941 |
#> |.....................|     2.678 |...........|...........|...........|
#> |    X|      116.8081 |     1.580 |     2.746 |     31.80 |    0.6953 |
#> |.....................|     2.719 |     1.008 |     1.251 |     1.941 |
#> |.....................|     2.678 |...........|...........|...........|
#> |    F| Forward Diff. |   0.07807 |   -0.6107 |   -0.4550 |    0.2729 |
#> |.....................|  0.002613 |   0.07809 |   -0.5109 |   -0.4454 |
#> |.....................|   -0.3016 |...........|...........|...........|
#> |   18|     116.80740 |   -0.7334 |   -0.4057 |     1.012 |   -0.6120 |
#> |.....................|   -0.4201 |   -0.9943 |   -0.2334 |    0.2224 |
#> |.....................|    0.5387 |...........|...........|...........|
#> |    U|      116.8074 |    0.4557 |     1.012 |     3.462 |    0.6938 |
#> |.....................|     1.000 |  0.005737 |     1.259 |     1.945 |
#> |.....................|     2.681 |...........|...........|...........|
#> |    X|      116.8074 |     1.577 |     2.750 |     31.87 |    0.6938 |
#> |.....................|     2.719 |     1.006 |     1.259 |     1.945 |
#> |.....................|     2.681 |...........|...........|...........|
#> |    F| Forward Diff. |   -0.1652 |   0.02377 |     2.034 |   -0.2992 |
#> |.....................| -0.003368 |   -0.1652 |    0.3570 |   -0.2818 |
#> |.....................|   -0.1687 |...........|...........|...........|
#> |   19|     116.82027 |   -0.7323 |   -0.4014 |     1.005 |   -0.6144 |
#> |.....................|   -0.4201 |   -0.9931 |   -0.2304 |    0.2225 |
#> |.....................|    0.5408 |...........|...........|...........|
#> |    U|     116.82027 |    0.4569 |     1.016 |     3.455 |    0.6929 |
#> |.....................|     1.000 |  0.006852 |     1.262 |     1.945 |
#> |.....................|     2.685 |...........|...........|...........|
#> |    X|     116.82027 |     1.579 |     2.762 |     31.65 |    0.6929 |
#> |.....................|     2.719 |     1.007 |     1.262 |     1.945 |
#> |.....................|     2.685 |...........|...........|...........|
#> |   20|     116.80509 |   -0.7332 |   -0.4058 |     1.010 |   -0.6117 |
#> |.....................|   -0.4201 |   -0.9941 |   -0.2338 |    0.2227 |
#> |.....................|    0.5389 |...........|...........|...........|
#> |    U|     116.80509 |    0.4559 |     1.012 |     3.460 |    0.6939 |
#> |.....................|     1.000 |  0.005925 |     1.258 |     1.945 |
#> |.....................|     2.682 |...........|...........|...........|
#> |    X|     116.80509 |     1.578 |     2.750 |     31.80 |    0.6939 |
#> |.....................|     2.719 |     1.006 |     1.258 |     1.945 |
#> |.....................|     2.682 |...........|...........|...........|
#> |    F| Forward Diff. |  -0.09280 |   -0.1222 |   -0.1587 |   -0.1406 |
#> |.....................| -0.001174 |  -0.09279 |    0.3265 |   -0.2744 |
#> |.....................|   -0.2144 |...........|...........|...........|
#> |   21|     116.80416 |   -0.7328 |   -0.4052 |     1.010 |   -0.6110 |
#> |.....................|   -0.4201 |   -0.9937 |   -0.2352 |    0.2239 |
#> |.....................|    0.5398 |...........|...........|...........|
#> |    U|     116.80416 |    0.4563 |     1.012 |     3.460 |    0.6941 |
#> |.....................|     1.000 |  0.006330 |     1.257 |     1.947 |
#> |.....................|     2.683 |...........|...........|...........|
#> |    X|     116.80416 |     1.578 |     2.752 |     31.82 |    0.6941 |
#> |.....................|     2.719 |     1.006 |     1.257 |     1.947 |
#> |.....................|     2.683 |...........|...........|...........|
#> |    F| Forward Diff. |  -0.06394 |   0.07976 |    0.5298 |   -0.1779 |
#> |.....................| -0.001902 |  -0.06388 |    0.1448 |   -0.1639 |
#> |.....................|   -0.1393 |...........|...........|...........|
#> |   22|     116.80468 |   -0.7320 |   -0.4063 |     1.009 |   -0.6076 |
#> |.....................|   -0.4200 |   -0.9929 |   -0.2368 |    0.2235 |
#> |.....................|    0.5419 |...........|...........|...........|
#> |    U|     116.80468 |    0.4571 |     1.011 |     3.459 |    0.6953 |
#> |.....................|     1.000 |  0.007097 |     1.255 |     1.946 |
#> |.....................|     2.687 |...........|...........|...........|
#> |    X|     116.80468 |     1.579 |     2.749 |     31.78 |    0.6953 |
#> |.....................|     2.719 |     1.007 |     1.255 |     1.946 |
#> |.....................|     2.687 |...........|...........|...........|
#> |   23|     116.80437 |   -0.7326 |   -0.4055 |     1.009 |   -0.6104 |
#> |.....................|   -0.4201 |   -0.9935 |   -0.2357 |    0.2243 |
#> |.....................|    0.5403 |...........|...........|...........|
#> |    U|     116.80437 |    0.4566 |     1.012 |     3.459 |    0.6943 |
#> |.....................|     1.000 |  0.006549 |     1.256 |     1.947 |
#> |.....................|     2.684 |...........|...........|...........|
#> |    X|     116.80437 |     1.579 |     2.751 |     31.78 |    0.6943 |
#> |.....................|     2.719 |     1.007 |     1.256 |     1.947 |
#> |.....................|     2.684 |...........|...........|...........|
#> |   24|     116.80398 |   -0.7327 |   -0.4053 |     1.010 |   -0.6108 |
#> |.....................|   -0.4201 |   -0.9936 |   -0.2354 |    0.2241 |
#> |.....................|    0.5400 |...........|...........|...........|
#> |    U|     116.80398 |    0.4564 |     1.012 |     3.460 |    0.6942 |
#> |.....................|     1.000 |  0.006412 |     1.257 |     1.947 |
#> |.....................|     2.684 |...........|...........|...........|
#> |    X|     116.80398 |     1.578 |     2.751 |     31.80 |    0.6942 |
#> |.....................|     2.719 |     1.006 |     1.257 |     1.947 |
#> |.....................|     2.684 |...........|...........|...........|
#> |    F| Forward Diff. |  -0.03953 |  0.009959 |   -0.1247 | -0.002894 |
#> |.....................| 0.0002904 |  -0.03957 |    0.1286 |   -0.1449 |
#> |.....................|   -0.1445 |...........|...........|...........|
#> |   25|     116.80378 |   -0.7326 |   -0.4054 |     1.010 |   -0.6108 |
#> |.....................|   -0.4201 |   -0.9935 |   -0.2357 |    0.2246 |
#> |.....................|    0.5404 |...........|...........|...........|
#> |    U|     116.80378 |    0.4565 |     1.012 |     3.460 |    0.6942 |
#> |.....................|     1.000 |  0.006528 |     1.256 |     1.947 |
#> |.....................|     2.684 |...........|...........|...........|
#> |    X|     116.80378 |     1.579 |     2.751 |     31.81 |    0.6942 |
#> |.....................|     2.719 |     1.007 |     1.256 |     1.947 |
#> |.....................|     2.684 |...........|...........|...........|
#> |    C| Central Diff. |  -0.04893 |  -0.01282 |    0.1158 |  -0.09120 |
#> |.....................|   0.03582 |  -0.04893 |  -0.02396 |  -0.08591 |
#> |.....................|   -0.1007 |...........|...........|...........|
#> |   26|     116.80378 |   -0.7326 |   -0.4054 |     1.010 |   -0.6108 |
#> |.....................|   -0.4201 |   -0.9935 |   -0.2357 |    0.2246 |
#> |.....................|    0.5404 |...........|...........|...........|
#> |    U|     116.80378 |    0.4565 |     1.012 |     3.460 |    0.6942 |
#> |.....................|     1.000 |  0.006528 |     1.256 |     1.947 |
#> |.....................|     2.684 |...........|...........|...........|
#> |    X|     116.80378 |     1.579 |     2.751 |     31.81 |    0.6942 |
#> |.....................|     2.719 |     1.007 |     1.256 |     1.947 |
#> |.....................|     2.684 |...........|...........|...........|
#> calculating covariance matrix
#> done
#> Calculating residuals/tables
#> done
#>  added centered_WT*cov_WT_cl to cl's equation in the model
#>  updated value: cl<-exp(tcl+centered_WT*cov_WT_cl+eta.cl)
#> → creating full model...
#> → pruning branches (`if`/`else`)...
#>  done
#> → loading into symengine environment...
#>  done
#> → creating full model...
#> → pruning branches (`if`/`else`)...
#>  done
#> → loading into symengine environment...
#>  done
#> → calculate jacobian
#> 
#> → calculate ∂(f)/∂(η)
#> 
#> → calculate ∂(R²)/∂(η)
#> 
#> → finding duplicate expressions in inner model...
#> 
#> → optimizing duplicate expressions in inner model...
#> 
#> → finding duplicate expressions in EBE model...
#> 
#> → optimizing duplicate expressions in EBE model...
#> 
#> → compiling inner model...
#>  
#>  done
#> → finding duplicate expressions in FD model...
#> 
#> → compiling EBE model...
#>  
#>  done
#> → compiling events FD model...
#>  
#>  done
#> Key: U: Unscaled Parameters; X: Back-transformed parameters; G: Gill difference gradient approximation
#> F: Forward difference gradient approximation
#> C: Central difference gradient approximation
#> M: Mixed forward and central difference gradient approximation
#> Unscaled parameters for Omegas=chol(solve(omega));
#> Diagonals are transformed, as specified by foceiControl(diagXform=)
#> |-----+---------------+-----------+-----------+-----------+-----------|
#> |    #| Objective Fun |       tka |       tcl |        tv |    add.sd |
#> |.....................|centered_WT | cov_WT_cl |        o1 |        o2 |
#> |.....................|        o3 |...........|...........|...........|
#> |    1|     133.57512 |   -0.7391 |   -0.4242 |     1.000 |   -0.5942 |
#> |.....................|   -0.4203 |    -1.000 |   -0.3413 |   -0.2167 |
#> |.....................|   0.03089 |...........|...........|...........|
#> |    U|     133.57512 |    0.4500 |    0.9933 |     3.450 |    0.7000 |
#> |.....................|     1.000 |     0.000 |     1.136 |     1.351 |
#> |.....................|     1.778 |...........|...........|...........|
#> |    X|     133.57512 |     1.568 |     2.700 |     31.50 |    0.7000 |
#> |.....................|     2.718 |     1.000 |     1.136 |     1.351 |
#> |.....................|     1.778 |...........|...........|...........|
#> |    G|    Gill Diff. |   -0.9310 |    -1.614 |    -3.052 |     1.570 |
#> |.....................| -0.001599 |    -1.614 |    -11.76 |    -35.33 |
#> |.....................|    -34.78 |...........|...........|...........|
#> |    2|     123.25594 |   -0.7209 |   -0.3926 |     1.060 |   -0.6249 |
#> |.....................|   -0.4201 |   -0.9684 |   -0.1114 |    0.4744 |
#> |.....................|    0.7111 |...........|...........|...........|
#> |    U|     123.25594 |    0.4682 |     1.025 |     3.510 |    0.6893 |
#> |.....................|     1.000 |   0.03157 |     1.397 |     2.285 |
#> |.....................|     2.988 |...........|...........|...........|
#> |    X|     123.25594 |     1.597 |     2.787 |     33.44 |    0.6893 |
#> |.....................|     2.719 |     1.032 |     1.397 |     2.285 |
#> |.....................|     2.988 |...........|...........|...........|
#> |    F| Forward Diff. |   -0.5872 |     30.12 |     74.11 |    -5.073 |
#> |.....................|    0.5694 |     29.88 |     14.09 |     18.27 |
#> |.....................|     14.13 |...........|...........|...........|
#> |    3|     859.71975 |   -0.7038 |   -0.7274 |    0.2260 |   -0.5829 |
#> |.....................|   -0.4268 |    -1.300 |   -0.1464 |    0.6512 |
#> |.....................|    0.9304 |...........|...........|...........|
#> |    U|     859.71975 |    0.4854 |    0.6901 |     2.676 |    0.7040 |
#> |.....................|    0.9935 |   -0.3003 |     1.358 |     2.524 |
#> |.....................|     3.378 |...........|...........|...........|
#> |    X|     859.71975 |     1.625 |     1.994 |     14.53 |    0.7040 |
#> |.....................|     2.701 |    0.7406 |     1.358 |     2.524 |
#> |.....................|     3.378 |...........|...........|...........|
#> |    4|     120.81286 |   -0.7203 |   -0.4262 |    0.9771 |   -0.6193 |
#> |.....................|   -0.4208 |    -1.002 |   -0.1271 |    0.4540 |
#> |.....................|    0.6954 |...........|...........|...........|
#> |    U|     120.81286 |    0.4689 |    0.9913 |     3.427 |    0.6912 |
#> |.....................|    0.9995 | -0.001724 |     1.380 |     2.257 |
#> |.....................|     2.960 |...........|...........|...........|
#> |    X|     120.81286 |     1.598 |     2.695 |     30.79 |    0.6912 |
#> |.....................|     2.717 |    0.9983 |     1.380 |     2.257 |
#> |.....................|     2.960 |...........|...........|...........|
#> |    F| Forward Diff. |     2.087 |    -13.35 |    -43.90 |    -3.248 |
#> |.....................|   -0.1126 |    -13.59 |     13.08 |     15.60 |
#> |.....................|     9.253 |...........|...........|...........|
#> |    5|     118.45659 |   -0.7247 |   -0.4172 |     1.022 |   -0.6088 |
#> |.....................|   -0.4209 |   -0.9921 |   -0.1685 |    0.3922 |
#> |.....................|    0.6493 |...........|...........|...........|
#> |    U|     118.45659 |    0.4644 |     1.000 |     3.472 |    0.6949 |
#> |.....................|    0.9994 |  0.007890 |     1.333 |     2.174 |
#> |.....................|     2.878 |...........|...........|...........|
#> |    X|     118.45659 |     1.591 |     2.719 |     32.21 |    0.6949 |
#> |.....................|     2.717 |     1.008 |     1.333 |     2.174 |
#> |.....................|     2.878 |...........|...........|...........|
#> |    F| Forward Diff. |  -0.06977 |    0.6254 |     15.33 |    -1.258 |
#> |.....................|    -1.329 |    0.6349 |     7.695 |     11.18 |
#> |.....................|     6.865 |...........|...........|...........|
#> |    6|     118.04847 |   -0.7248 |   -0.4067 |    0.9734 |   -0.6043 |
#> |.....................|   -0.4134 |   -0.9818 |   -0.2063 |    0.3286 |
#> |.....................|    0.6065 |...........|...........|...........|
#> |    U|     118.04847 |    0.4643 |     1.011 |     3.423 |    0.6965 |
#> |.....................|     1.007 |   0.01821 |     1.290 |     2.088 |
#> |.....................|     2.802 |...........|...........|...........|
#> |    X|     118.04847 |     1.591 |     2.748 |     30.67 |    0.6965 |
#> |.....................|     2.737 |     1.018 |     1.290 |     2.088 |
#> |.....................|     2.802 |...........|...........|...........|
#> |    F| Forward Diff. |     1.320 |     3.525 |    -37.31 |  -0.09968 |
#> |.....................|   0.06591 |     3.550 |     3.801 |     7.437 |
#> |.....................|     4.130 |...........|...........|...........|
#> |    7|     117.28912 |   -0.7264 |   -0.4381 |     1.023 |   -0.6098 |
#> |.....................|   -0.4059 |    -1.014 |   -0.2257 |    0.2692 |
#> |.....................|    0.5673 |...........|...........|...........|
#> |    U|     117.28912 |    0.4627 |    0.9793 |     3.473 |    0.6946 |
#> |.....................|     1.014 |  -0.01430 |     1.268 |     2.008 |
#> |.....................|     2.732 |...........|...........|...........|
#> |    X|     117.28912 |     1.588 |     2.663 |     32.22 |    0.6946 |
#> |.....................|     2.758 |    0.9858 |     1.268 |     2.008 |
#> |.....................|     2.732 |...........|...........|...........|
#> |    F| Forward Diff. |   -0.5880 |    -14.09 |     9.927 |   -0.4074 |
#> |.....................|   -0.8878 |    -14.29 |     1.126 |     3.439 |
#> |.....................|     2.081 |...........|...........|...........|
#> |    8|     118.03314 |   -0.7224 |   -0.3748 |     1.026 |   -0.6174 |
#> |.....................|   -0.3986 |   -0.9502 |   -0.2151 |    0.2361 |
#> |.....................|    0.5443 |...........|...........|...........|
#> |    U|     118.03314 |    0.4667 |     1.043 |     3.476 |    0.6919 |
#> |.....................|     1.022 |   0.04983 |     1.280 |     1.963 |
#> |.....................|     2.691 |...........|...........|...........|
#> |    X|     118.03314 |     1.595 |     2.837 |     32.32 |    0.6919 |
#> |.....................|     2.778 |     1.051 |     1.280 |     1.963 |
#> |.....................|     2.691 |...........|...........|...........|
#> |    9|     116.87496 |   -0.7255 |   -0.4158 |     1.007 |   -0.6091 |
#> |.....................|   -0.4045 |   -0.9917 |   -0.2274 |    0.2638 |
#> |.....................|    0.5640 |...........|...........|...........|
#> |    U|     116.87496 |    0.4637 |     1.002 |     3.457 |    0.6948 |
#> |.....................|     1.016 |  0.008338 |     1.266 |     2.000 |
#> |.....................|     2.726 |...........|...........|...........|
#> |    X|     116.87496 |     1.590 |     2.723 |     31.72 |    0.6948 |
#> |.....................|     2.761 |     1.008 |     1.266 |     2.000 |
#> |.....................|     2.726 |...........|...........|...........|
#> |    F| Forward Diff. |   0.09679 |   -0.6559 |    -2.632 |   -0.1556 |
#> |.....................|    -1.067 |   -0.6654 |     1.003 |     2.666 |
#> |.....................|     1.317 |...........|...........|...........|
#> |   10|     117.02096 |   -0.7263 |   -0.4103 |     1.029 |   -0.6078 |
#> |.....................|   -0.3956 |   -0.9861 |   -0.2358 |    0.2416 |
#> |.....................|    0.5530 |...........|...........|...........|
#> |    U|     117.02096 |    0.4629 |     1.007 |     3.479 |    0.6952 |
#> |.....................|     1.025 |   0.01388 |     1.256 |     1.970 |
#> |.....................|     2.707 |...........|...........|...........|
#> |    X|     117.02096 |     1.589 |     2.738 |     32.42 |    0.6952 |
#> |.....................|     2.786 |     1.014 |     1.256 |     1.970 |
#> |.....................|     2.707 |...........|...........|...........|
#> |   11|     116.85652 |   -0.7257 |   -0.4144 |     1.013 |   -0.6088 |
#> |.....................|   -0.4022 |   -0.9902 |   -0.2296 |    0.2581 |
#> |.....................|    0.5611 |...........|...........|...........|
#> |    U|     116.85652 |    0.4635 |     1.003 |     3.463 |    0.6949 |
#> |.....................|     1.018 |  0.009772 |     1.263 |     1.993 |
#> |.....................|     2.721 |...........|...........|...........|
#> |    X|     116.85652 |     1.590 |     2.727 |     31.90 |    0.6949 |
#> |.....................|     2.768 |     1.010 |     1.263 |     1.993 |
#> |.....................|     2.721 |...........|...........|...........|
#> |    F| Forward Diff. |  -0.04465 |    0.6304 |     3.187 |  -0.08629 |
#> |.....................|    -1.060 |    0.6426 |    0.7000 |     2.223 |
#> |.....................|     1.243 |...........|...........|...........|
#> |   12|     116.84481 |   -0.7256 |   -0.4157 |     1.006 |   -0.6086 |
#> |.....................|   -0.3998 |   -0.9916 |   -0.2311 |    0.2531 |
#> |.....................|    0.5584 |...........|...........|...........|
#> |    U|     116.84481 |    0.4636 |     1.002 |     3.456 |    0.6950 |
#> |.....................|     1.020 |  0.008400 |     1.262 |     1.986 |
#> |.....................|     2.716 |...........|...........|...........|
#> |    X|     116.84481 |     1.590 |     2.723 |     31.69 |    0.6950 |
#> |.....................|     2.774 |     1.008 |     1.262 |     1.986 |
#> |.....................|     2.716 |...........|...........|...........|
#> |    F| Forward Diff. |   0.09903 |   -0.6932 |    -3.584 | 0.0004455 |
#> |.....................|    -1.063 |   -0.7063 |    0.5774 |     1.934 |
#> |.....................|    0.9261 |...........|...........|...........|
#> |   13|     116.81838 |   -0.7256 |   -0.4156 |     1.012 |   -0.6099 |
#> |.....................|   -0.3897 |   -0.9915 |   -0.2307 |    0.2405 |
#> |.....................|    0.5517 |...........|...........|...........|
#> |    U|     116.81838 |    0.4635 |     1.002 |     3.462 |    0.6945 |
#> |.....................|     1.031 |  0.008516 |     1.262 |     1.969 |
#> |.....................|     2.704 |...........|...........|...........|
#> |    X|     116.81838 |     1.590 |     2.723 |     31.90 |    0.6945 |
#> |.....................|     2.803 |     1.009 |     1.262 |     1.969 |
#> |.....................|     2.704 |...........|...........|...........|
#> |    F| Forward Diff. |  -0.05659 |   -0.1808 |     2.707 |   -0.2314 |
#> |.....................|    -1.038 |   -0.1848 |    0.6231 |    0.9959 |
#> |.....................|    0.6262 |...........|...........|...........|
#> |   14|     116.81246 |   -0.7255 |   -0.4158 |     1.007 |   -0.6076 |
#> |.....................|   -0.3733 |   -0.9917 |   -0.2349 |    0.2362 |
#> |.....................|    0.5488 |...........|...........|...........|
#> |    U|     116.81246 |    0.4636 |     1.002 |     3.457 |    0.6953 |
#> |.....................|     1.047 |  0.008310 |     1.257 |     1.963 |
#> |.....................|     2.699 |...........|...........|...........|
#> |    X|     116.81246 |     1.590 |     2.723 |     31.72 |    0.6953 |
#> |.....................|     2.849 |     1.008 |     1.257 |     1.963 |
#> |.....................|     2.699 |...........|...........|...........|
#> |    F| Forward Diff. |   0.06136 |   -0.6362 |    -2.602 |    0.1691 |
#> |.....................|   -0.9905 |   -0.6639 |    0.1831 |    0.7333 |
#> |.....................|    0.3536 |...........|...........|...........|
#> |   15|     116.80869 |   -0.7257 |   -0.4150 |     1.011 |   -0.6090 |
#> |.....................|   -0.3553 |   -0.9904 |   -0.2374 |    0.2368 |
#> |.....................|    0.5482 |...........|...........|...........|
#> |    U|     116.80869 |    0.4634 |     1.002 |     3.461 |    0.6948 |
#> |.....................|     1.065 |  0.009556 |     1.254 |     1.964 |
#> |.....................|     2.698 |...........|...........|...........|
#> |    X|     116.80869 |     1.589 |     2.725 |     31.84 |    0.6948 |
#> |.....................|     2.901 |     1.010 |     1.254 |     1.964 |
#> |.....................|     2.698 |...........|...........|...........|
#> |    F| Forward Diff. |  -0.03143 |    0.2889 |     1.081 |   0.01740 |
#> |.....................|   -0.9301 |    0.3109 |   -0.1921 |    0.7207 |
#> |.....................|    0.4036 |...........|...........|...........|
#> |   16|     116.80846 |   -0.7255 |   -0.4152 |     1.009 |   -0.6112 |
#> |.....................|   -0.3390 |   -0.9909 |   -0.2299 |    0.2334 |
#> |.....................|    0.5456 |...........|...........|...........|
#> |    U|     116.80846 |    0.4636 |     1.002 |     3.459 |    0.6940 |
#> |.....................|     1.081 |  0.009143 |     1.263 |     1.959 |
#> |.....................|     2.694 |...........|...........|...........|
#> |    X|     116.80846 |     1.590 |     2.724 |     31.77 |    0.6940 |
#> |.....................|     2.949 |     1.009 |     1.263 |     1.959 |
#> |.....................|     2.694 |...........|...........|...........|
#> |    F| Forward Diff. |   0.04672 | -0.004295 |    -1.030 |   -0.1291 |
#> |.....................|   -0.8715 |  0.002131 |    0.7617 |    0.5157 |
#> |.....................|    0.1823 |...........|...........|...........|
#> |   17|     116.80952 |   -0.7257 |   -0.4152 |     1.013 |   -0.6103 |
#> |.....................|   -0.3322 |   -0.9910 |   -0.2339 |    0.2311 |
#> |.....................|    0.5453 |...........|...........|...........|
#> |    U|     116.80952 |    0.4634 |     1.002 |     3.463 |    0.6944 |
#> |.....................|     1.088 |  0.008978 |     1.258 |     1.956 |
#> |.....................|     2.693 |...........|...........|...........|
#> |    X|     116.80952 |     1.590 |     2.725 |     31.91 |    0.6944 |
#> |.....................|     2.969 |     1.009 |     1.258 |     1.956 |
#> |.....................|     2.693 |...........|...........|...........|
#> |   18|     116.80694 |   -0.7256 |   -0.4152 |     1.011 |   -0.6109 |
#> |.....................|   -0.3367 |   -0.9909 |   -0.2319 |    0.2320 |
#> |.....................|    0.5451 |...........|...........|...........|
#> |    U|     116.80694 |    0.4635 |     1.002 |     3.461 |    0.6942 |
#> |.....................|     1.084 |  0.009137 |     1.261 |     1.957 |
#> |.....................|     2.693 |...........|...........|...........|
#> |    X|     116.80694 |     1.590 |     2.725 |     31.86 |    0.6942 |
#> |.....................|     2.955 |     1.009 |     1.261 |     1.957 |
#> |.....................|     2.693 |...........|...........|...........|
#> |    F| Forward Diff. |  -0.03028 |    0.1674 |     1.594 |   -0.2384 |
#> |.....................|   -0.8710 |    0.1889 |    0.4883 |    0.3857 |
#> |.....................|    0.2068 |...........|...........|...........|
#> |   19|     116.80579 |   -0.7256 |   -0.4155 |     1.008 |   -0.6103 |
#> |.....................|   -0.3338 |   -0.9913 |   -0.2332 |    0.2313 |
#> |.....................|    0.5449 |...........|...........|...........|
#> |    U|     116.80579 |    0.4636 |     1.002 |     3.458 |    0.6944 |
#> |.....................|     1.086 |  0.008740 |     1.259 |     1.957 |
#> |.....................|     2.692 |...........|...........|...........|
#> |    X|     116.80579 |     1.590 |     2.724 |     31.77 |    0.6944 |
#> |.....................|     2.964 |     1.009 |     1.259 |     1.957 |
#> |.....................|     2.692 |...........|...........|...........|
#> |    F| Forward Diff. |   0.03176 |   -0.2218 |    -1.148 |   -0.1288 |
#> |.....................|   -0.8610 |   -0.2335 |    0.4197 |    0.3759 |
#> |.....................|    0.1438 |...........|...........|...........|
#> |   20|     116.80490 |   -0.7256 |   -0.4151 |     1.011 |   -0.6087 |
#> |.....................|   -0.3259 |   -0.9910 |   -0.2354 |    0.2309 |
#> |.....................|    0.5456 |...........|...........|...........|
#> |    U|      116.8049 |    0.4635 |     1.002 |     3.461 |    0.6949 |
#> |.....................|     1.094 |  0.008995 |     1.257 |     1.956 |
#> |.....................|     2.694 |...........|...........|...........|
#> |    X|      116.8049 |     1.590 |     2.725 |     31.84 |    0.6949 |
#> |.....................|     2.987 |     1.009 |     1.257 |     1.956 |
#> |.....................|     2.694 |...........|...........|...........|
#> |    F| Forward Diff. |  -0.02228 |    0.1385 |     1.031 |  -0.08496 |
#> |.....................|   -0.8411 |    0.1610 |   0.06259 |    0.3195 |
#> |.....................|    0.2048 |...........|...........|...........|
#> |   21|     116.80671 |   -0.7256 |   -0.4150 |     1.008 |   -0.6061 |
#> |.....................|   -0.3089 |   -0.9917 |   -0.2369 |    0.2315 |
#> |.....................|    0.5471 |...........|...........|...........|
#> |    U|     116.80671 |    0.4635 |     1.002 |     3.458 |    0.6958 |
#> |.....................|     1.111 |  0.008260 |     1.255 |     1.957 |
#> |.....................|     2.696 |...........|...........|...........|
#> |    X|     116.80671 |     1.590 |     2.725 |     31.76 |    0.6958 |
#> |.....................|     3.038 |     1.008 |     1.255 |     1.957 |
#> |.....................|     2.696 |...........|...........|...........|
#> |   22|     116.80552 |   -0.7256 |   -0.4152 |     1.008 |   -0.6076 |
#> |.....................|   -0.3185 |   -0.9915 |   -0.2360 |    0.2307 |
#> |.....................|    0.5459 |...........|...........|...........|
#> |    U|     116.80552 |    0.4635 |     1.002 |     3.458 |    0.6953 |
#> |.....................|     1.102 |  0.008507 |     1.256 |     1.956 |
#> |.....................|     2.694 |...........|...........|...........|
#> |    X|     116.80552 |     1.590 |     2.724 |     31.77 |    0.6953 |
#> |.....................|     3.010 |     1.009 |     1.256 |     1.956 |
#> |.....................|     2.694 |...........|...........|...........|
#> |   23|     116.80513 |   -0.7256 |   -0.4153 |     1.008 |   -0.6083 |
#> |.....................|   -0.3231 |   -0.9914 |   -0.2356 |    0.2303 |
#> |.....................|    0.5453 |...........|...........|...........|
#> |    U|     116.80513 |    0.4636 |     1.002 |     3.458 |    0.6951 |
#> |.....................|     1.097 |  0.008626 |     1.256 |     1.955 |
#> |.....................|     2.693 |...........|...........|...........|
#> |    X|     116.80513 |     1.590 |     2.724 |     31.77 |    0.6951 |
#> |.....................|     2.996 |     1.009 |     1.256 |     1.955 |
#> |.....................|     2.693 |...........|...........|...........|
#> |   24|     116.80438 |   -0.7256 |   -0.4152 |     1.009 |   -0.6086 |
#> |.....................|   -0.3248 |   -0.9912 |   -0.2354 |    0.2305 |
#> |.....................|    0.5454 |...........|...........|...........|
#> |    U|     116.80438 |    0.4636 |     1.002 |     3.459 |    0.6950 |
#> |.....................|     1.095 |  0.008794 |     1.257 |     1.955 |
#> |.....................|     2.693 |...........|...........|...........|
#> |    X|     116.80438 |     1.590 |     2.724 |     31.80 |    0.6950 |
#> |.....................|     2.991 |     1.009 |     1.257 |     1.955 |
#> |.....................|     2.693 |...........|...........|...........|
#> |    F| Forward Diff. |  0.007505 |  -0.05573 |   -0.2366 |  0.004925 |
#> |.....................|   -0.8347 |  -0.05207 |   0.09580 |    0.3209 |
#> |.....................|    0.1753 |...........|...........|...........|
#> |   25|     116.80406 |   -0.7256 |   -0.4150 |     1.010 |   -0.6086 |
#> |.....................|   -0.3217 |   -0.9910 |   -0.2358 |    0.2293 |
#> |.....................|    0.5447 |...........|...........|...........|
#> |    U|     116.80406 |    0.4635 |     1.002 |     3.460 |    0.6950 |
#> |.....................|     1.099 |  0.008987 |     1.256 |     1.954 |
#> |.....................|     2.692 |...........|...........|...........|
#> |    X|     116.80406 |     1.590 |     2.725 |     31.83 |    0.6950 |
#> |.....................|     3.000 |     1.009 |     1.256 |     1.954 |
#> |.....................|     2.692 |...........|...........|...........|
#> |    F| Forward Diff. |  -0.01408 |    0.1254 |    0.6289 |   0.06360 |
#> |.....................|   -0.8281 |    0.1471 |   0.04100 |    0.2295 |
#> |.....................|    0.1640 |...........|...........|...........|
#> |   26|     116.80458 |   -0.7256 |   -0.4152 |     1.008 |   -0.6103 |
#> |.....................|   -0.3152 |   -0.9915 |   -0.2367 |    0.2289 |
#> |.....................|    0.5443 |...........|...........|...........|
#> |    U|     116.80458 |    0.4635 |     1.002 |     3.458 |    0.6944 |
#> |.....................|     1.105 |  0.008514 |     1.255 |     1.953 |
#> |.....................|     2.691 |...........|...........|...........|
#> |    X|     116.80458 |     1.590 |     2.724 |     31.77 |    0.6944 |
#> |.....................|     3.019 |     1.009 |     1.255 |     1.953 |
#> |.....................|     2.691 |...........|...........|...........|
#> |   27|     116.80462 |   -0.7256 |   -0.4154 |     1.008 |   -0.6088 |
#> |.....................|   -0.3192 |   -0.9915 |   -0.2359 |    0.2286 |
#> |.....................|    0.5442 |...........|...........|...........|
#> |    U|     116.80462 |    0.4636 |     1.002 |     3.458 |    0.6949 |
#> |.....................|     1.101 |  0.008548 |     1.256 |     1.953 |
#> |.....................|     2.691 |...........|...........|...........|
#> |    X|     116.80462 |     1.590 |     2.724 |     31.77 |    0.6949 |
#> |.....................|     3.007 |     1.009 |     1.256 |     1.953 |
#> |.....................|     2.691 |...........|...........|...........|
#> |   28|     116.80387 |   -0.7256 |   -0.4152 |     1.009 |   -0.6087 |
#> |.....................|   -0.3206 |   -0.9912 |   -0.2358 |    0.2290 |
#> |.....................|    0.5445 |...........|...........|...........|
#> |    U|     116.80387 |    0.4635 |     1.002 |     3.459 |    0.6949 |
#> |.....................|     1.100 |  0.008797 |     1.256 |     1.953 |
#> |.....................|     2.692 |...........|...........|...........|
#> |    X|     116.80387 |     1.590 |     2.724 |     31.80 |    0.6949 |
#> |.....................|     3.003 |     1.009 |     1.256 |     1.953 |
#> |.....................|     2.692 |...........|...........|...........|
#> |    F| Forward Diff. |  0.004171 |  -0.03095 |   -0.1730 |    0.1211 |
#> |.....................|   -0.8225 |  -0.02511 |   0.09302 |    0.2082 |
#> |.....................|    0.1327 |...........|...........|...........|
#> |   29|     116.80367 |   -0.7256 |   -0.4151 |     1.010 |   -0.6091 |
#> |.....................|   -0.3180 |   -0.9911 |   -0.2361 |    0.2283 |
#> |.....................|    0.5441 |...........|...........|...........|
#> |    U|     116.80367 |    0.4635 |     1.002 |     3.460 |    0.6948 |
#> |.....................|     1.102 |  0.008877 |     1.256 |     1.953 |
#> |.....................|     2.691 |...........|...........|...........|
#> |    X|     116.80367 |     1.590 |     2.725 |     31.82 |    0.6948 |
#> |.....................|     3.011 |     1.009 |     1.256 |     1.953 |
#> |.....................|     2.691 |...........|...........|...........|
#> |    C| Central Diff. |  -0.02268 |   0.02197 |    0.2634 |   0.07429 |
#> |.....................|    0.4319 |   0.02418 |   -0.1614 |    0.2090 |
#> |.....................|   0.09616 |...........|...........|...........|
#> |   30|     116.80362 |   -0.7255 |   -0.4151 |     1.009 |   -0.6093 |
#> |.....................|   -0.3191 |   -0.9912 |   -0.2358 |    0.2278 |
#> |.....................|    0.5438 |...........|...........|...........|
#> |    U|     116.80362 |    0.4636 |     1.002 |     3.459 |    0.6947 |
#> |.....................|     1.101 |  0.008818 |     1.256 |     1.952 |
#> |.....................|     2.690 |...........|...........|...........|
#> |    X|     116.80362 |     1.590 |     2.725 |     31.80 |    0.6947 |
#> |.....................|     3.008 |     1.009 |     1.256 |     1.952 |
#> |.....................|     2.690 |...........|...........|...........|
#> |    C| Central Diff. | -0.004902 |  -0.05560 |   -0.3425 |  -0.06713 |
#> |.....................|    0.4342 |  -0.06126 |   -0.1009 |    0.1343 |
#> |.....................|   0.07798 |...........|...........|...........|
#> |   31|     116.80362 |   -0.7255 |   -0.4151 |     1.009 |   -0.6093 |
#> |.....................|   -0.3191 |   -0.9912 |   -0.2358 |    0.2278 |
#> |.....................|    0.5438 |...........|...........|...........|
#> |    U|     116.80362 |    0.4636 |     1.002 |     3.459 |    0.6947 |
#> |.....................|     1.101 |  0.008818 |     1.256 |     1.952 |
#> |.....................|     2.690 |...........|...........|...........|
#> |    X|     116.80362 |     1.590 |     2.725 |     31.80 |    0.6947 |
#> |.....................|     3.008 |     1.009 |     1.256 |     1.952 |
#> |.....................|     2.690 |...........|...........|...........|
#> calculating covariance matrix
#> done
#> Calculating residuals/tables
#> done
#> 
#> ── objf value did not improve, exiting the search ... ──────────────────────────
#> 
#> ── forward search complete ──
#> 
#> ── starting backward search... ─────────────────────────────────────────────────
#> ! no covariates added in the forward search, skipping backward search
#> $summaryTable
#>   step covar var     objf     deltObjf      AIC      BIC numParams  qchisqr
#> 1    1    WT  ka 116.8038 0.0001862661 377.4036 403.3488         9 5.991465
#> 2    1    WT  cl 116.8036 0.0003408229 377.4034 403.3486         9 5.991465
#>   pchisqr included searchType  covNames covarEffect
#> 1       1             forward cov_WT_ka 0.006527741
#> 2       1             forward cov_WT_cl 0.008818391
#> 
#> $resFwd
#> $resFwd[[1]]
#> ── nlmixr FOCEi (outer: nlminb) fit ────────────────────────────────────────────
#> 
#>          OBJF      AIC      BIC Log-likelihood Condition Number
#> FOCEi 116.804 373.4037 393.5833      -179.7019         68.47463
#> 
#> ── Time (sec $time): ───────────────────────────────────────────────────────────
#> 
#>            setup optimize covariance table    other
#> elapsed 0.496534 0.257304    0.25731 0.031 1.011852
#> 
#> ── Population Parameters ($parFixed or $parFixedDf): ───────────────────────────
#> 
#>        Parameter  Est.     SE %RSE Back-transformed(95%CI) BSV(CV%) Shrink(SD)%
#> tka       Log Ka 0.466  0.195 41.9       1.59 (1.09, 2.34)     70.5      1.91% 
#> tcl       Log Cl  1.01 0.0751 7.42       2.75 (2.37, 3.19)     26.9      4.16% 
#> tv         log V  3.46 0.0437 1.26       31.8 (29.2, 34.7)     13.9      10.3% 
#> add.sd           0.695                               0.695                     
#>  
#>   Covariance Type ($covMethod): r,s
#>   Some strong fixed parameter correlations exist ($cor) :
#>     cor:tcl,tka  cor:tv,tka  cor:tv,tcl 
#>      0.158        0.422       0.744  
#>  
#> 
#>   No correlations in between subject variability (BSV) matrix
#>   Full BSV covariance ($omega) or correlation ($omegaR; diagonals=SDs) 
#>   Distribution stats (mean/skewness/kurtosis/p-value) available in $shrink 
#>   Minimization message ($message):  
#>     relative convergence (4) 
#> 
#> ── Fit Data (object is a modified tibble): ─────────────────────────────────────
#> # A tibble: 132 x 20
#>   ID     TIME    DV  PRED    RES   WRES     IPRED   IRES  IWRES     CPRED   CRES
#>   <fct> <dbl> <dbl> <dbl>  <dbl>  <dbl>     <dbl>  <dbl>  <dbl>     <dbl>  <dbl>
#> 1 1      0     0.74  0     0.74   1.07  -1.96e-15  0.740  1.07  -1.78e-15  0.740
#> 2 1      0.25  2.84  3.27 -0.426 -0.227  3.85e+ 0 -1.01  -1.45   3.22e+ 0 -0.383
#> 3 1      0.57  6.57  5.83  0.736  0.295  6.79e+ 0 -0.215 -0.310  5.78e+ 0  0.791
#> # … with 129 more rows, and 9 more variables: CWRES <dbl>, eta.ka <dbl>,
#> #   eta.cl <dbl>, eta.v <dbl>, ka <dbl>, cl <dbl>, v <dbl>, tad <dbl>,
#> #   dosenum <dbl>
#> 
#> $resFwd[[2]]
#>   step covar var     objf     deltObjf      AIC      BIC numParams  qchisqr
#> 1    1    WT  ka 116.8038 0.0001862661 377.4036 403.3488         9 5.991465
#> 2    1    WT  cl 116.8036 0.0003408229 377.4034 403.3486         9 5.991465
#>   pchisqr included searchType  covNames covarEffect
#> 1       1             forward cov_WT_ka 0.006527741
#> 2       1             forward cov_WT_cl 0.008818391
#> 
#> 
#> $resBck
#> $resBck[[1]]
#> ── nlmixr FOCEi (outer: nlminb) fit ────────────────────────────────────────────
#> 
#>          OBJF      AIC      BIC Log-likelihood Condition Number
#> FOCEi 116.804 373.4037 393.5833      -179.7019         68.47463
#> 
#> ── Time (sec $time): ───────────────────────────────────────────────────────────
#> 
#>            setup optimize covariance table    other
#> elapsed 0.496534 0.257304    0.25731 0.031 1.011852
#> 
#> ── Population Parameters ($parFixed or $parFixedDf): ───────────────────────────
#> 
#>        Parameter  Est.     SE %RSE Back-transformed(95%CI) BSV(CV%) Shrink(SD)%
#> tka       Log Ka 0.466  0.195 41.9       1.59 (1.09, 2.34)     70.5      1.91% 
#> tcl       Log Cl  1.01 0.0751 7.42       2.75 (2.37, 3.19)     26.9      4.16% 
#> tv         log V  3.46 0.0437 1.26       31.8 (29.2, 34.7)     13.9      10.3% 
#> add.sd           0.695                               0.695                     
#>  
#>   Covariance Type ($covMethod): r,s
#>   Some strong fixed parameter correlations exist ($cor) :
#>     cor:tcl,tka  cor:tv,tka  cor:tv,tcl 
#>      0.158        0.422       0.744  
#>  
#> 
#>   No correlations in between subject variability (BSV) matrix
#>   Full BSV covariance ($omega) or correlation ($omegaR; diagonals=SDs) 
#>   Distribution stats (mean/skewness/kurtosis/p-value) available in $shrink 
#>   Minimization message ($message):  
#>     relative convergence (4) 
#> 
#> ── Fit Data (object is a modified tibble): ─────────────────────────────────────
#> # A tibble: 132 x 20
#>   ID     TIME    DV  PRED    RES   WRES     IPRED   IRES  IWRES     CPRED   CRES
#>   <fct> <dbl> <dbl> <dbl>  <dbl>  <dbl>     <dbl>  <dbl>  <dbl>     <dbl>  <dbl>
#> 1 1      0     0.74  0     0.74   1.07  -1.96e-15  0.740  1.07  -1.78e-15  0.740
#> 2 1      0.25  2.84  3.27 -0.426 -0.227  3.85e+ 0 -1.01  -1.45   3.22e+ 0 -0.383
#> 3 1      0.57  6.57  5.83  0.736  0.295  6.79e+ 0 -0.215 -0.310  5.78e+ 0  0.791
#> # … with 129 more rows, and 9 more variables: CWRES <dbl>, eta.ka <dbl>,
#> #   eta.cl <dbl>, eta.v <dbl>, ka <dbl>, cl <dbl>, v <dbl>, tad <dbl>,
#> #   dosenum <dbl>
#> 
#> $resBck[[2]]
#> NULL
#> 
#> 

## Note that this didn't include sex, add it to dataset and restart model

d <- theo_sd
d$SEX <-0
d$SEX[d$ID<=6] <-1

fit <- nlmixr(one.cmt, d, "focei")
#>  parameter labels from comments will be replaced by 'label()'
#> Key: U: Unscaled Parameters; X: Back-transformed parameters; G: Gill difference gradient approximation
#> F: Forward difference gradient approximation
#> C: Central difference gradient approximation
#> M: Mixed forward and central difference gradient approximation
#> Unscaled parameters for Omegas=chol(solve(omega));
#> Diagonals are transformed, as specified by foceiControl(diagXform=)
#> |-----+---------------+-----------+-----------+-----------+-----------|
#> |    #| Objective Fun |       tka |       tcl |        tv |    add.sd |
#> |.....................|        o1 |        o2 |        o3 |...........|
#> |    1|     133.57512 |    -1.000 |   -0.6378 |     1.000 |   -0.8333 |
#> |.....................|   -0.5425 |   -0.3992 |   -0.1145 |...........|
#> |    U|     133.57512 |    0.4500 |    0.9933 |     3.450 |    0.7000 |
#> |.....................|     1.136 |     1.351 |     1.778 |...........|
#> |    X|     133.57512 |     1.568 |     2.700 |     31.50 |    0.7000 |
#> |.....................|     1.136 |     1.351 |     1.778 |...........|
#> |    G|    Gill Diff. |   -0.9310 |    -1.614 |    -3.052 |     1.489 |
#> |.....................|    -11.77 |    -35.22 |    -34.65 |...........|
#> |    2|     122.58351 |   -0.9817 |   -0.6061 |     1.060 |   -0.8626 |
#> |.....................|   -0.3115 |    0.2923 |    0.5657 |...........|
#> |    U|     122.58351 |    0.4683 |     1.025 |     3.510 |    0.6898 |
#> |.....................|     1.399 |     2.286 |     2.988 |...........|
#> |    X|     122.58351 |     1.597 |     2.787 |     33.45 |    0.6898 |
#> |.....................|     1.399 |     2.286 |     2.988 |...........|
#> |    F| Forward Diff. |   -0.9208 |     14.80 |     70.18 |    -4.750 |
#> |.....................|     14.04 |     16.79 |     14.00 |...........|
#> |    3|     691.84544 |   -0.9592 |   -0.7976 |    0.1045 |   -0.8111 |
#> |.....................|   -0.3877 |    0.4188 |    0.7256 |...........|
#> |    U|     691.84544 |    0.4908 |    0.8334 |     2.555 |    0.7078 |
#> |.....................|     1.312 |     2.457 |     3.272 |...........|
#> |    X|     691.84544 |     1.634 |     2.301 |     12.86 |    0.7078 |
#> |.....................|     1.312 |     2.457 |     3.272 |...........|
#> |    4|     121.01943 |   -0.9805 |   -0.6255 |    0.9681 |   -0.8563 |
#> |.....................|   -0.3298 |    0.2703 |    0.5474 |...........|
#> |    U|     121.01943 |    0.4695 |     1.006 |     3.418 |    0.6919 |
#> |.....................|     1.378 |     2.256 |     2.955 |...........|
#> |    X|     121.01943 |     1.599 |     2.733 |     30.51 |    0.6919 |
#> |.....................|     1.378 |     2.256 |     2.955 |...........|
#> |    F| Forward Diff. |     2.645 |    -6.905 |    -53.14 |    -2.619 |
#> |.....................|     13.01 |     15.52 |     9.407 |...........|
#> |    5|     118.40517 |   -0.9856 |   -0.6239 |     1.019 |   -0.8465 |
#> |.....................|   -0.3725 |    0.2112 |    0.5033 |...........|
#> |    U|     118.40517 |    0.4644 |     1.007 |     3.469 |    0.6954 |
#> |.....................|     1.329 |     2.176 |     2.877 |...........|
#> |    X|     118.40517 |     1.591 |     2.738 |     32.11 |    0.6954 |
#> |.....................|     1.329 |     2.176 |     2.877 |...........|
#> |    F| Forward Diff. |   0.01446 |  -0.08437 |     11.58 |    -1.274 |
#> |.....................|     7.438 |     11.23 |     6.705 |...........|
#> |    6|     117.95103 |   -0.9860 |   -0.6177 |    0.9748 |   -0.8409 |
#> |.....................|   -0.4130 |    0.1436 |    0.4616 |...........|
#> |    U|     117.95103 |    0.4640 |     1.013 |     3.425 |    0.6974 |
#> |.....................|     1.283 |     2.085 |     2.803 |...........|
#> |    X|     117.95103 |     1.590 |     2.755 |     30.72 |    0.6974 |
#> |.....................|     1.283 |     2.085 |     2.803 |...........|
#> |    F| Forward Diff. |     1.122 |    -2.127 |    -37.09 |    0.7428 |
#> |.....................|     3.053 |     7.161 |     4.251 |...........|
#> |    7|     117.25799 |   -0.9800 |   -0.6240 |     1.034 |   -0.8751 |
#> |.....................|   -0.4267 |  -0.01400 |    0.3605 |...........|
#> |    U|     117.25799 |    0.4700 |     1.007 |     3.484 |    0.6854 |
#> |.....................|     1.268 |     1.872 |     2.623 |...........|
#> |    X|     117.25799 |     1.600 |     2.738 |     32.59 |    0.6854 |
#> |.....................|     1.268 |     1.872 |     2.623 |...........|
#> |    F| Forward Diff. |   -0.1764 |   -0.2027 |     20.89 |    -2.826 |
#> |.....................|     1.639 |    -4.242 |    -1.326 |...........|
#> |    8|     118.77223 |   -0.9990 |   -0.5552 |     1.021 |   -0.7597 |
#> |.....................|   -0.5480 |   0.06586 |    0.3424 |...........|
#> |    U|     118.77223 |    0.4510 |     1.076 |     3.471 |    0.7258 |
#> |.....................|     1.130 |     1.980 |     2.591 |...........|
#> |    X|     118.77223 |     1.570 |     2.933 |     32.18 |    0.7258 |
#> |.....................|     1.130 |     1.980 |     2.591 |...........|
#> |    9|     116.94266 |   -0.9818 |   -0.6162 |     1.003 |   -0.8584 |
#> |.....................|   -0.4424 | 0.0008404 |    0.3604 |...........|
#> |    U|     116.94266 |    0.4682 |     1.015 |     3.453 |    0.6912 |
#> |.....................|     1.250 |     1.892 |     2.623 |...........|
#> |    X|     116.94266 |     1.597 |     2.759 |     31.58 |    0.6912 |
#> |.....................|     1.250 |     1.892 |     2.623 |...........|
#> |    F| Forward Diff. |    0.3581 |    0.3016 |    -6.519 |   -0.6550 |
#> |.....................|   -0.1664 |    -3.271 |    -2.106 |...........|
#> |   10|     116.91245 |   -0.9864 |   -0.6219 |     1.016 |   -0.8402 |
#> |.....................|   -0.4667 |   0.02122 |    0.3750 |...........|
#> |    U|     116.91245 |    0.4636 |     1.009 |     3.466 |    0.6976 |
#> |.....................|     1.222 |     1.919 |     2.649 |...........|
#> |    X|     116.91245 |     1.590 |     2.743 |     32.01 |    0.6976 |
#> |.....................|     1.222 |     1.919 |     2.649 |...........|
#> |    F| Forward Diff. |   -0.2371 |   -0.4719 |     5.611 |     1.059 |
#> |.....................|    -3.599 |    -1.622 |    -1.035 |...........|
#> |   11|     116.81816 |   -0.9941 |   -0.6127 |     1.010 |   -0.8443 |
#> |.....................|   -0.4335 |   0.03146 |    0.3946 |...........|
#> |    U|     116.81816 |    0.4559 |     1.018 |     3.460 |    0.6962 |
#> |.....................|     1.260 |     1.933 |     2.684 |...........|
#> |    X|     116.81816 |     1.578 |     2.769 |     31.81 |    0.6962 |
#> |.....................|     1.260 |     1.933 |     2.684 |...........|
#> |    F| Forward Diff. |   -0.3867 |     1.747 |    0.7282 |    0.5892 |
#> |.....................|    0.4773 |   -0.6756 |   -0.3445 |...........|
#> |   12|     117.02994 |   -0.9866 |   -0.6462 |    0.9959 |   -0.8556 |
#> |.....................|   -0.4427 |   0.04440 |    0.4012 |...........|
#> |    U|     117.02994 |    0.4634 |    0.9849 |     3.446 |    0.6922 |
#> |.....................|     1.250 |     1.951 |     2.695 |...........|
#> |    X|     117.02994 |     1.589 |     2.678 |     31.37 |    0.6922 |
#> |.....................|     1.250 |     1.951 |     2.695 |...........|
#> |   13|     116.81116 |   -0.9929 |   -0.6178 |     1.008 |   -0.8460 |
#> |.....................|   -0.4349 |   0.03344 |    0.3956 |...........|
#> |    U|     116.81116 |    0.4571 |     1.013 |     3.458 |    0.6956 |
#> |.....................|     1.258 |     1.936 |     2.685 |...........|
#> |    X|     116.81116 |     1.579 |     2.755 |     31.75 |    0.6956 |
#> |.....................|     1.258 |     1.936 |     2.685 |...........|
#> |    F| Forward Diff. |   -0.3035 |    0.1729 |    -1.603 |    0.4734 |
#> |.....................|    0.2828 |   -0.6593 |   -0.2093 |...........|
#> |   14|     116.80954 |   -0.9909 |   -0.6181 |     1.012 |   -0.8492 |
#> |.....................|   -0.4362 |   0.03612 |    0.3960 |...........|
#> |    U|     116.80954 |    0.4591 |     1.013 |     3.462 |    0.6945 |
#> |.....................|     1.257 |     1.939 |     2.686 |...........|
#> |    X|     116.80954 |     1.583 |     2.754 |     31.88 |    0.6945 |
#> |.....................|     1.257 |     1.939 |     2.686 |...........|
#> |    F| Forward Diff. |   -0.2983 |    0.3827 |     2.513 |    0.1308 |
#> |.....................|    0.1027 |   -0.5155 |   -0.1330 |...........|
#> |   15|     116.80580 |   -0.9880 |   -0.6174 |     1.009 |   -0.8523 |
#> |.....................|   -0.4382 |   0.03870 |    0.3956 |...........|
#> |    U|      116.8058 |    0.4620 |     1.014 |     3.459 |    0.6934 |
#> |.....................|     1.255 |     1.943 |     2.685 |...........|
#> |    X|      116.8058 |     1.587 |     2.756 |     31.77 |    0.6934 |
#> |.....................|     1.255 |     1.943 |     2.685 |...........|
#> |    F| Forward Diff. |  -0.05904 |    0.3941 |   -0.7825 |   -0.1329 |
#> |.....................|  -0.04679 |   -0.3189 |  -0.09134 |...........|
#> |   16|     116.80460 |   -0.9844 |   -0.6192 |     1.010 |   -0.8498 |
#> |.....................|   -0.4363 |   0.04096 |    0.3925 |...........|
#> |    U|      116.8046 |    0.4656 |     1.012 |     3.460 |    0.6942 |
#> |.....................|     1.257 |     1.946 |     2.680 |...........|
#> |    X|      116.8046 |     1.593 |     2.751 |     31.81 |    0.6942 |
#> |.....................|     1.257 |     1.946 |     2.680 |...........|
#> |    F| Forward Diff. |    0.1014 |  -0.01637 |    0.1336 |  -0.03561 |
#> |.....................|    0.1833 |  -0.08332 |   -0.2624 |...........|
#> |   17|     116.80396 |   -0.9844 |   -0.6189 |     1.010 |   -0.8485 |
#> |.....................|   -0.4384 |   0.04095 |    0.3984 |...........|
#> |    U|     116.80396 |    0.4656 |     1.012 |     3.460 |    0.6947 |
#> |.....................|     1.255 |     1.946 |     2.690 |...........|
#> |    X|     116.80396 |     1.593 |     2.752 |     31.81 |    0.6947 |
#> |.....................|     1.255 |     1.946 |     2.690 |...........|
#> |    F| Forward Diff. |    0.1049 |   0.04687 |    0.2751 |  -0.09583 |
#> |.....................|  -0.09949 |   -0.1553 |   0.08188 |...........|
#> |   18|     116.80396 |   -0.9844 |   -0.6189 |     1.010 |   -0.8485 |
#> |.....................|   -0.4384 |   0.04095 |    0.3984 |...........|
#> |    U|     116.80396 |    0.4656 |     1.012 |     3.460 |    0.6947 |
#> |.....................|     1.255 |     1.946 |     2.690 |...........|
#> |    X|     116.80396 |     1.593 |     2.752 |     31.81 |    0.6947 |
#> |.....................|     1.255 |     1.946 |     2.690 |...........|
#> calculating covariance matrix
#> done
#> Calculating residuals/tables
#> done
#> Warning: initial ETAs were nudged; (can control by foceiControl(etaNudge=., etaNudge2=))
#> Warning: ETAs were reset to zero during optimization; (Can control by foceiControl(resetEtaP=.))
#> Warning: last objective function was not at minimum, possible problems in optimization
#> Warning: gradient problems with initial estimate and covariance; see $scaleInfo

# This would restart if for some reason the search crashed:

RxODE::.rxWithWd(tempdir(), {# with temporary directory

covarSearchAuto(fit, varsVec = c("ka", "cl"), covarsVec = c("WT", "SEX"),
                catCovariates = c("SEX"), restart = TRUE)

covarSearchAuto(fit, varsVec = c("ka", "cl"), covarsVec = c("WT", "SEX"),
                catCovariates = c("SEX"), restart = TRUE,
                searchType = "forward")
})
#> 
#> ── starting forward search... ──────────────────────────────────────────────────
#>  added centered_WT*cov_WT_ka to ka's equation in the model
#>  updated value: ka<-exp(tka+centered_WT*cov_WT_ka+eta.ka)
#> Key: U: Unscaled Parameters; X: Back-transformed parameters; G: Gill difference gradient approximation
#> F: Forward difference gradient approximation
#> C: Central difference gradient approximation
#> M: Mixed forward and central difference gradient approximation
#> Unscaled parameters for Omegas=chol(solve(omega));
#> Diagonals are transformed, as specified by foceiControl(diagXform=)
#> |-----+---------------+-----------+-----------+-----------+-----------|
#> |    #| Objective Fun |       tka |       tcl |        tv |    add.sd |
#> |.....................|centered_WT | cov_WT_ka |        o1 |        o2 |
#> |.....................|        o3 |...........|...........|...........|
#> |    1|     133.57512 |   -0.7391 |   -0.4242 |     1.000 |   -0.5942 |
#> |.....................|   -0.4203 |    -1.000 |   -0.3413 |   -0.2167 |
#> |.....................|   0.03089 |...........|...........|...........|
#> |    U|     133.57512 |    0.4500 |    0.9933 |     3.450 |    0.7000 |
#> |.....................|     1.000 |     0.000 |     1.136 |     1.351 |
#> |.....................|     1.778 |...........|...........|...........|
#> |    X|     133.57512 |     1.568 |     2.700 |     31.50 |    0.7000 |
#> |.....................|     2.718 |     1.000 |     1.136 |     1.351 |
#> |.....................|     1.778 |...........|...........|...........|
#> |    G|    Gill Diff. |   -0.9310 |    -1.614 |    -3.052 |     1.592 |
#> |.....................| -0.001647 |   -0.9310 |    -11.76 |    -35.33 |
#> |.....................|    -34.78 |...........|...........|...........|
#> |    2|     122.55889 |   -0.7209 |   -0.3926 |     1.060 |   -0.6253 |
#> |.....................|   -0.4201 |   -0.9818 |   -0.1113 |    0.4746 |
#> |.....................|    0.7113 |...........|...........|...........|
#> |    U|     122.55889 |    0.4682 |     1.025 |     3.510 |    0.6891 |
#> |.....................|     1.000 |   0.01821 |     1.398 |     2.285 |
#> |.....................|     2.988 |...........|...........|...........|
#> |    X|     122.55889 |     1.597 |     2.787 |     33.44 |    0.6891 |
#> |.....................|     2.719 |     1.018 |     1.398 |     2.285 |
#> |.....................|     2.988 |...........|...........|...........|
#> |    F| Forward Diff. |    0.5842 |     14.90 |     69.23 |    -4.996 |
#> |.....................|   0.01727 |    0.5844 |     14.13 |     16.72 |
#> |.....................|     13.88 |...........|...........|...........|
#> |    3|     689.72878 |   -0.7198 |   -0.5885 |    0.1044 |   -0.5704 |
#> |.....................|   -0.4204 |   -0.9806 |   -0.1929 |    0.5964 |
#> |.....................|    0.8680 |...........|...........|...........|
#> |    U|     689.72878 |    0.4694 |    0.8290 |     2.554 |    0.7083 |
#> |.....................|    0.9999 |   0.01938 |     1.305 |     2.450 |
#> |.....................|     3.267 |...........|...........|...........|
#> |    X|     689.72878 |     1.599 |     2.291 |     12.86 |    0.7083 |
#> |.....................|     2.718 |     1.020 |     1.305 |     2.450 |
#> |.....................|     3.267 |...........|...........|...........|
#> |    4|     121.05405 |   -0.7217 |   -0.4123 |    0.9681 |   -0.6187 |
#> |.....................|   -0.4202 |   -0.9826 |   -0.1300 |    0.4525 |
#> |.....................|    0.6930 |...........|...........|...........|
#> |    U|     121.05405 |    0.4674 |     1.005 |     3.418 |    0.6914 |
#> |.....................|     1.000 |   0.01744 |     1.376 |     2.255 |
#> |.....................|     2.956 |...........|...........|...........|
#> |    X|     121.05405 |     1.596 |     2.732 |     30.51 |    0.6914 |
#> |.....................|     2.719 |     1.018 |     1.376 |     2.255 |
#> |.....................|     2.956 |...........|...........|...........|
#> |    F| Forward Diff. |     3.821 |    -6.971 |    -53.82 |    -3.083 |
#> |.....................|   0.06897 |     3.822 |     13.14 |     15.42 |
#> |.....................|     9.541 |...........|...........|...........|
#> |    5|     118.41289 |   -0.7303 |   -0.4110 |     1.020 |   -0.6078 |
#> |.....................|   -0.4203 |   -0.9912 |   -0.1727 |    0.3944 |
#> |.....................|    0.6495 |...........|...........|...........|
#> |    U|     118.41289 |    0.4588 |     1.006 |     3.470 |    0.6952 |
#> |.....................|     1.000 |  0.008846 |     1.328 |     2.177 |
#> |.....................|     2.878 |...........|...........|...........|
#> |    X|     118.41289 |     1.582 |     2.736 |     32.12 |    0.6952 |
#> |.....................|     2.718 |     1.009 |     1.328 |     2.177 |
#> |.....................|     2.878 |...........|...........|...........|
#> |    F| Forward Diff. |    0.2151 |   -0.3112 |     11.81 |    -1.196 |
#> |.....................|-0.0003315 |    0.2151 |     7.238 |     11.30 |
#> |.....................|     6.771 |...........|...........|...........|
#> |    6|     117.94241 |   -0.7313 |   -0.4032 |    0.9751 |   -0.6027 |
#> |.....................|   -0.4203 |   -0.9921 |   -0.2119 |    0.3265 |
#> |.....................|    0.6073 |...........|...........|...........|
#> |    U|     117.94241 |    0.4579 |     1.014 |     3.425 |    0.6970 |
#> |.....................|     1.000 |  0.007858 |     1.283 |     2.085 |
#> |.....................|     2.803 |...........|...........|...........|
#> |    X|     117.94241 |     1.581 |     2.757 |     30.73 |    0.6970 |
#> |.....................|     2.718 |     1.008 |     1.283 |     2.085 |
#> |.....................|     2.803 |...........|...........|...........|
#> |    F| Forward Diff. |     1.223 |    -1.769 |    -36.73 |    0.1954 |
#> |.....................|   0.01026 |     1.223 |     3.109 |     7.198 |
#> |.....................|     4.240 |...........|...........|...........|
#> |    7|     117.29163 |   -0.7147 |   -0.4120 |     1.035 |   -0.6315 |
#> |.....................|   -0.4197 |   -0.9756 |   -0.2241 |    0.1684 |
#> |.....................|    0.5083 |...........|...........|...........|
#> |    U|     117.29163 |    0.4744 |     1.005 |     3.485 |    0.6869 |
#> |.....................|     1.001 |   0.02440 |     1.269 |     1.872 |
#> |.....................|     2.627 |...........|...........|...........|
#> |    X|     117.29163 |     1.607 |     2.733 |     32.63 |    0.6869 |
#> |.....................|     2.720 |     1.025 |     1.269 |     1.872 |
#> |.....................|     2.627 |...........|...........|...........|
#> |    F| Forward Diff. |     1.446 |   -0.4010 |     21.43 |    -2.418 |
#> |.....................|   0.03203 |     1.446 |     1.709 |    -4.312 |
#> |.....................|    -1.103 |...........|...........|...........|
#> |    8|     118.34539 |   -0.8022 |   -0.3566 |     1.017 |   -0.5463 |
#> |.....................|   -0.4211 |    -1.063 |   -0.3198 |    0.2335 |
#> |.....................|    0.4827 |...........|...........|...........|
#> |    U|     118.34539 |    0.3869 |     1.061 |     3.467 |    0.7168 |
#> |.....................|    0.9992 |  -0.06309 |     1.161 |     1.959 |
#> |.....................|     2.582 |...........|...........|...........|
#> |    X|     118.34539 |     1.472 |     2.889 |     32.05 |    0.7168 |
#> |.....................|     2.716 |    0.9389 |     1.161 |     1.959 |
#> |.....................|     2.582 |...........|...........|...........|
#> |    9|     116.92750 |   -0.7336 |   -0.4007 |     1.004 |   -0.6118 |
#> |.....................|   -0.4200 |   -0.9945 |   -0.2449 |    0.1867 |
#> |.....................|    0.5048 |...........|...........|...........|
#> |    U|      116.9275 |    0.4555 |     1.017 |     3.454 |    0.6938 |
#> |.....................|     1.000 |  0.005504 |     1.246 |     1.896 |
#> |.....................|     2.621 |...........|...........|...........|
#> |    X|      116.9275 |     1.577 |     2.764 |     31.62 |    0.6938 |
#> |.....................|     2.719 |     1.006 |     1.246 |     1.896 |
#> |.....................|     2.621 |...........|...........|...........|
#> |    F| Forward Diff. |  -0.05021 |    0.8465 |    -5.302 |   0.06758 |
#> |.....................| 0.0005881 |  -0.05018 |   -0.8447 |    -2.947 |
#> |.....................|    -2.208 |...........|...........|...........|
#> |   10|     116.97980 |   -0.7359 |   -0.4236 |     1.017 |   -0.5998 |
#> |.....................|   -0.4201 |   -0.9968 |   -0.2743 |    0.2105 |
#> |.....................|    0.5318 |...........|...........|...........|
#> |    U|      116.9798 |    0.4532 |    0.9939 |     3.467 |    0.6980 |
#> |.....................|     1.000 |  0.003187 |     1.212 |     1.928 |
#> |.....................|     2.669 |...........|...........|...........|
#> |    X|      116.9798 |     1.573 |     2.702 |     32.04 |    0.6980 |
#> |.....................|     2.719 |     1.003 |     1.212 |     1.928 |
#> |.....................|     2.669 |...........|...........|...........|
#> |   11|     116.88481 |   -0.7341 |   -0.4079 |     1.016 |   -0.6088 |
#> |.....................|   -0.4200 |   -0.9950 |   -0.2511 |    0.1975 |
#> |.....................|    0.5152 |...........|...........|...........|
#> |    U|     116.88481 |    0.4550 |     1.010 |     3.466 |    0.6949 |
#> |.....................|     1.000 |  0.004992 |     1.239 |     1.911 |
#> |.....................|     2.640 |...........|...........|...........|
#> |    X|     116.88481 |     1.576 |     2.744 |     31.99 |    0.6949 |
#> |.....................|     2.719 |     1.005 |     1.239 |     1.911 |
#> |.....................|     2.640 |...........|...........|...........|
#> |    F| Forward Diff. |   -0.3847 |   -0.4337 |     5.029 |    0.2777 |
#> |.....................| -0.003050 |   -0.3847 |    -1.799 |    -2.259 |
#> |.....................|    -1.363 |...........|...........|...........|
#> |   12|     116.84034 |   -0.7267 |   -0.4050 |     1.007 |   -0.6133 |
#> |.....................|   -0.4199 |   -0.9876 |   -0.2423 |    0.2040 |
#> |.....................|    0.5266 |...........|...........|...........|
#> |    U|     116.84034 |    0.4624 |     1.012 |     3.457 |    0.6933 |
#> |.....................|     1.000 |   0.01240 |     1.249 |     1.920 |
#> |.....................|     2.660 |...........|...........|...........|
#> |    X|     116.84034 |     1.588 |     2.752 |     31.71 |    0.6933 |
#> |.....................|     2.719 |     1.012 |     1.249 |     1.920 |
#> |.....................|     2.660 |...........|...........|...........|
#> |    F| Forward Diff. |    0.6410 |  -0.07486 |    -3.047 |   -0.2440 |
#> |.....................|  0.007822 |    0.6412 |   -0.6095 |    -1.614 |
#> |.....................|   -0.9651 |...........|...........|...........|
#> |   13|     116.84764 |   -0.7345 |   -0.3949 |     1.014 |   -0.6124 |
#> |.....................|   -0.4200 |   -0.9953 |   -0.2306 |    0.2089 |
#> |.....................|    0.5316 |...........|...........|...........|
#> |    U|     116.84764 |    0.4547 |     1.023 |     3.464 |    0.6936 |
#> |.....................|     1.000 |  0.004678 |     1.262 |     1.926 |
#> |.....................|     2.669 |...........|...........|...........|
#> |    X|     116.84764 |     1.576 |     2.780 |     31.95 |    0.6936 |
#> |.....................|     2.719 |     1.005 |     1.262 |     1.926 |
#> |.....................|     2.669 |...........|...........|...........|
#> |   14|     116.83274 |   -0.7284 |   -0.4047 |     1.014 |   -0.6127 |
#> |.....................|   -0.4200 |   -0.9893 |   -0.2406 |    0.2081 |
#> |.....................|    0.5290 |...........|...........|...........|
#> |    U|     116.83274 |    0.4607 |     1.013 |     3.464 |    0.6935 |
#> |.....................|     1.000 |   0.01068 |     1.251 |     1.925 |
#> |.....................|     2.664 |...........|...........|...........|
#> |    X|     116.83274 |     1.585 |     2.753 |     31.95 |    0.6935 |
#> |.....................|     2.719 |     1.011 |     1.251 |     1.925 |
#> |.....................|     2.664 |...........|...........|...........|
#> |    F| Forward Diff. |    0.3015 |    0.4698 |     4.103 |   -0.2127 |
#> |.....................|  0.003996 |    0.3015 |   -0.4491 |    -1.365 |
#> |.....................|   -0.6394 |...........|...........|...........|
#> |   15|     116.81885 |   -0.7328 |   -0.4065 |     1.009 |   -0.6116 |
#> |.....................|   -0.4200 |   -0.9937 |   -0.2380 |    0.2103 |
#> |.....................|    0.5305 |...........|...........|...........|
#> |    U|     116.81885 |    0.4563 |     1.011 |     3.459 |    0.6939 |
#> |.....................|     1.000 |  0.006308 |     1.254 |     1.928 |
#> |.....................|     2.667 |...........|...........|...........|
#> |    X|     116.81885 |     1.578 |     2.748 |     31.77 |    0.6939 |
#> |.....................|     2.719 |     1.006 |     1.254 |     1.928 |
#> |.....................|     2.667 |...........|...........|...........|
#> |    F| Forward Diff. |  -0.04907 |   -0.4074 |    -1.148 |   -0.1127 |
#> |.....................|  0.002382 |  -0.04901 |   -0.1359 |    -1.150 |
#> |.....................|   -0.7174 |...........|...........|...........|
#> |   16|     116.81494 |   -0.7324 |   -0.4003 |     1.011 |   -0.6100 |
#> |.....................|   -0.4200 |   -0.9933 |   -0.2399 |    0.2155 |
#> |.....................|    0.5342 |...........|...........|...........|
#> |    U|     116.81494 |    0.4567 |     1.017 |     3.461 |    0.6945 |
#> |.....................|     1.000 |  0.006710 |     1.251 |     1.935 |
#> |.....................|     2.673 |...........|...........|...........|
#> |    X|     116.81494 |     1.579 |     2.765 |     31.84 |    0.6945 |
#> |.....................|     2.719 |     1.007 |     1.251 |     1.935 |
#> |.....................|     2.673 |...........|...........|...........|
#> |    F| Forward Diff. |  -0.02679 |     1.498 |     1.298 |   -0.1248 |
#> |.....................|-0.0006497 |  -0.02661 |   -0.4180 |   -0.8090 |
#> |.....................|   -0.4656 |...........|...........|...........|
#> |   17|     116.80810 |   -0.7314 |   -0.4075 |     1.009 |   -0.6077 |
#> |.....................|   -0.4200 |   -0.9923 |   -0.2402 |    0.2202 |
#> |.....................|    0.5369 |...........|...........|...........|
#> |    U|      116.8081 |    0.4577 |     1.010 |     3.459 |    0.6953 |
#> |.....................|     1.000 |  0.007690 |     1.251 |     1.941 |
#> |.....................|     2.678 |...........|...........|...........|
#> |    X|      116.8081 |     1.580 |     2.746 |     31.80 |    0.6953 |
#> |.....................|     2.719 |     1.008 |     1.251 |     1.941 |
#> |.....................|     2.678 |...........|...........|...........|
#> |    F| Forward Diff. |   0.07807 |   -0.6107 |   -0.4550 |    0.2729 |
#> |.....................|  0.002613 |   0.07809 |   -0.5109 |   -0.4454 |
#> |.....................|   -0.3016 |...........|...........|...........|
#> |   18|     116.80740 |   -0.7334 |   -0.4057 |     1.012 |   -0.6120 |
#> |.....................|   -0.4201 |   -0.9943 |   -0.2334 |    0.2224 |
#> |.....................|    0.5387 |...........|...........|...........|
#> |    U|      116.8074 |    0.4557 |     1.012 |     3.462 |    0.6938 |
#> |.....................|     1.000 |  0.005737 |     1.259 |     1.945 |
#> |.....................|     2.681 |...........|...........|...........|
#> |    X|      116.8074 |     1.577 |     2.750 |     31.87 |    0.6938 |
#> |.....................|     2.719 |     1.006 |     1.259 |     1.945 |
#> |.....................|     2.681 |...........|...........|...........|
#> |    F| Forward Diff. |   -0.1652 |   0.02377 |     2.034 |   -0.2992 |
#> |.....................| -0.003368 |   -0.1652 |    0.3570 |   -0.2818 |
#> |.....................|   -0.1687 |...........|...........|...........|
#> |   19|     116.82027 |   -0.7323 |   -0.4014 |     1.005 |   -0.6144 |
#> |.....................|   -0.4201 |   -0.9931 |   -0.2304 |    0.2225 |
#> |.....................|    0.5408 |...........|...........|...........|
#> |    U|     116.82027 |    0.4569 |     1.016 |     3.455 |    0.6929 |
#> |.....................|     1.000 |  0.006852 |     1.262 |     1.945 |
#> |.....................|     2.685 |...........|...........|...........|
#> |    X|     116.82027 |     1.579 |     2.762 |     31.65 |    0.6929 |
#> |.....................|     2.719 |     1.007 |     1.262 |     1.945 |
#> |.....................|     2.685 |...........|...........|...........|
#> |   20|     116.80509 |   -0.7332 |   -0.4058 |     1.010 |   -0.6117 |
#> |.....................|   -0.4201 |   -0.9941 |   -0.2338 |    0.2227 |
#> |.....................|    0.5389 |...........|...........|...........|
#> |    U|     116.80509 |    0.4559 |     1.012 |     3.460 |    0.6939 |
#> |.....................|     1.000 |  0.005925 |     1.258 |     1.945 |
#> |.....................|     2.682 |...........|...........|...........|
#> |    X|     116.80509 |     1.578 |     2.750 |     31.80 |    0.6939 |
#> |.....................|     2.719 |     1.006 |     1.258 |     1.945 |
#> |.....................|     2.682 |...........|...........|...........|
#> |    F| Forward Diff. |  -0.09280 |   -0.1222 |   -0.1587 |   -0.1406 |
#> |.....................| -0.001174 |  -0.09279 |    0.3265 |   -0.2744 |
#> |.....................|   -0.2144 |...........|...........|...........|
#> |   21|     116.80416 |   -0.7328 |   -0.4052 |     1.010 |   -0.6110 |
#> |.....................|   -0.4201 |   -0.9937 |   -0.2352 |    0.2239 |
#> |.....................|    0.5398 |...........|...........|...........|
#> |    U|     116.80416 |    0.4563 |     1.012 |     3.460 |    0.6941 |
#> |.....................|     1.000 |  0.006330 |     1.257 |     1.947 |
#> |.....................|     2.683 |...........|...........|...........|
#> |    X|     116.80416 |     1.578 |     2.752 |     31.82 |    0.6941 |
#> |.....................|     2.719 |     1.006 |     1.257 |     1.947 |
#> |.....................|     2.683 |...........|...........|...........|
#> |    F| Forward Diff. |  -0.06394 |   0.07976 |    0.5298 |   -0.1779 |
#> |.....................| -0.001902 |  -0.06388 |    0.1448 |   -0.1639 |
#> |.....................|   -0.1393 |...........|...........|...........|
#> |   22|     116.80468 |   -0.7320 |   -0.4063 |     1.009 |   -0.6076 |
#> |.....................|   -0.4200 |   -0.9929 |   -0.2368 |    0.2235 |
#> |.....................|    0.5419 |...........|...........|...........|
#> |    U|     116.80468 |    0.4571 |     1.011 |     3.459 |    0.6953 |
#> |.....................|     1.000 |  0.007097 |     1.255 |     1.946 |
#> |.....................|     2.687 |...........|...........|...........|
#> |    X|     116.80468 |     1.579 |     2.749 |     31.78 |    0.6953 |
#> |.....................|     2.719 |     1.007 |     1.255 |     1.946 |
#> |.....................|     2.687 |...........|...........|...........|
#> |   23|     116.80437 |   -0.7326 |   -0.4055 |     1.009 |   -0.6104 |
#> |.....................|   -0.4201 |   -0.9935 |   -0.2357 |    0.2243 |
#> |.....................|    0.5403 |...........|...........|...........|
#> |    U|     116.80437 |    0.4566 |     1.012 |     3.459 |    0.6943 |
#> |.....................|     1.000 |  0.006549 |     1.256 |     1.947 |
#> |.....................|     2.684 |...........|...........|...........|
#> |    X|     116.80437 |     1.579 |     2.751 |     31.78 |    0.6943 |
#> |.....................|     2.719 |     1.007 |     1.256 |     1.947 |
#> |.....................|     2.684 |...........|...........|...........|
#> |   24|     116.80398 |   -0.7327 |   -0.4053 |     1.010 |   -0.6108 |
#> |.....................|   -0.4201 |   -0.9936 |   -0.2354 |    0.2241 |
#> |.....................|    0.5400 |...........|...........|...........|
#> |    U|     116.80398 |    0.4564 |     1.012 |     3.460 |    0.6942 |
#> |.....................|     1.000 |  0.006412 |     1.257 |     1.947 |
#> |.....................|     2.684 |...........|...........|...........|
#> |    X|     116.80398 |     1.578 |     2.751 |     31.80 |    0.6942 |
#> |.....................|     2.719 |     1.006 |     1.257 |     1.947 |
#> |.....................|     2.684 |...........|...........|...........|
#> |    F| Forward Diff. |  -0.03953 |  0.009959 |   -0.1247 | -0.002894 |
#> |.....................| 0.0002904 |  -0.03957 |    0.1286 |   -0.1449 |
#> |.....................|   -0.1445 |...........|...........|...........|
#> |   25|     116.80378 |   -0.7326 |   -0.4054 |     1.010 |   -0.6108 |
#> |.....................|   -0.4201 |   -0.9935 |   -0.2357 |    0.2246 |
#> |.....................|    0.5404 |...........|...........|...........|
#> |    U|     116.80378 |    0.4565 |     1.012 |     3.460 |    0.6942 |
#> |.....................|     1.000 |  0.006528 |     1.256 |     1.947 |
#> |.....................|     2.684 |...........|...........|...........|
#> |    X|     116.80378 |     1.579 |     2.751 |     31.81 |    0.6942 |
#> |.....................|     2.719 |     1.007 |     1.256 |     1.947 |
#> |.....................|     2.684 |...........|...........|...........|
#> |    C| Central Diff. |  -0.04893 |  -0.01282 |    0.1158 |  -0.09120 |
#> |.....................|   0.03582 |  -0.04893 |  -0.02396 |  -0.08591 |
#> |.....................|   -0.1007 |...........|...........|...........|
#> |   26|     116.80378 |   -0.7326 |   -0.4054 |     1.010 |   -0.6108 |
#> |.....................|   -0.4201 |   -0.9935 |   -0.2357 |    0.2246 |
#> |.....................|    0.5404 |...........|...........|...........|
#> |    U|     116.80378 |    0.4565 |     1.012 |     3.460 |    0.6942 |
#> |.....................|     1.000 |  0.006528 |     1.256 |     1.947 |
#> |.....................|     2.684 |...........|...........|...........|
#> |    X|     116.80378 |     1.579 |     2.751 |     31.81 |    0.6942 |
#> |.....................|     2.719 |     1.007 |     1.256 |     1.947 |
#> |.....................|     2.684 |...........|...........|...........|
#> calculating covariance matrix
#> done
#> Calculating residuals/tables
#> done
#>  added centered_WT*cov_WT_cl to cl's equation in the model
#>  updated value: cl<-exp(tcl+centered_WT*cov_WT_cl+eta.cl)
#> Key: U: Unscaled Parameters; X: Back-transformed parameters; G: Gill difference gradient approximation
#> F: Forward difference gradient approximation
#> C: Central difference gradient approximation
#> M: Mixed forward and central difference gradient approximation
#> Unscaled parameters for Omegas=chol(solve(omega));
#> Diagonals are transformed, as specified by foceiControl(diagXform=)
#> |-----+---------------+-----------+-----------+-----------+-----------|
#> |    #| Objective Fun |       tka |       tcl |        tv |    add.sd |
#> |.....................|centered_WT | cov_WT_cl |        o1 |        o2 |
#> |.....................|        o3 |...........|...........|...........|
#> |    1|     133.57512 |   -0.7391 |   -0.4242 |     1.000 |   -0.5942 |
#> |.....................|   -0.4203 |    -1.000 |   -0.3413 |   -0.2167 |
#> |.....................|   0.03089 |...........|...........|...........|
#> |    U|     133.57512 |    0.4500 |    0.9933 |     3.450 |    0.7000 |
#> |.....................|     1.000 |     0.000 |     1.136 |     1.351 |
#> |.....................|     1.778 |...........|...........|...........|
#> |    X|     133.57512 |     1.568 |     2.700 |     31.50 |    0.7000 |
#> |.....................|     2.718 |     1.000 |     1.136 |     1.351 |
#> |.....................|     1.778 |...........|...........|...........|
#> |    G|    Gill Diff. |   -0.9310 |    -1.614 |    -3.052 |     1.570 |
#> |.....................| -0.001599 |    -1.614 |    -11.76 |    -35.33 |
#> |.....................|    -34.78 |...........|...........|...........|
#> |    2|     123.25594 |   -0.7209 |   -0.3926 |     1.060 |   -0.6249 |
#> |.....................|   -0.4201 |   -0.9684 |   -0.1114 |    0.4744 |
#> |.....................|    0.7111 |...........|...........|...........|
#> |    U|     123.25594 |    0.4682 |     1.025 |     3.510 |    0.6893 |
#> |.....................|     1.000 |   0.03157 |     1.397 |     2.285 |
#> |.....................|     2.988 |...........|...........|...........|
#> |    X|     123.25594 |     1.597 |     2.787 |     33.44 |    0.6893 |
#> |.....................|     2.719 |     1.032 |     1.397 |     2.285 |
#> |.....................|     2.988 |...........|...........|...........|
#> |    F| Forward Diff. |   -0.5872 |     30.12 |     74.11 |    -5.073 |
#> |.....................|    0.5694 |     29.88 |     14.09 |     18.27 |
#> |.....................|     14.13 |...........|...........|...........|
#> |    3|     859.71975 |   -0.7038 |   -0.7274 |    0.2260 |   -0.5829 |
#> |.....................|   -0.4268 |    -1.300 |   -0.1464 |    0.6512 |
#> |.....................|    0.9304 |...........|...........|...........|
#> |    U|     859.71975 |    0.4854 |    0.6901 |     2.676 |    0.7040 |
#> |.....................|    0.9935 |   -0.3003 |     1.358 |     2.524 |
#> |.....................|     3.378 |...........|...........|...........|
#> |    X|     859.71975 |     1.625 |     1.994 |     14.53 |    0.7040 |
#> |.....................|     2.701 |    0.7406 |     1.358 |     2.524 |
#> |.....................|     3.378 |...........|...........|...........|
#> |    4|     120.81286 |   -0.7203 |   -0.4262 |    0.9771 |   -0.6193 |
#> |.....................|   -0.4208 |    -1.002 |   -0.1271 |    0.4540 |
#> |.....................|    0.6954 |...........|...........|...........|
#> |    U|     120.81286 |    0.4689 |    0.9913 |     3.427 |    0.6912 |
#> |.....................|    0.9995 | -0.001724 |     1.380 |     2.257 |
#> |.....................|     2.960 |...........|...........|...........|
#> |    X|     120.81286 |     1.598 |     2.695 |     30.79 |    0.6912 |
#> |.....................|     2.717 |    0.9983 |     1.380 |     2.257 |
#> |.....................|     2.960 |...........|...........|...........|
#> |    F| Forward Diff. |     2.087 |    -13.35 |    -43.90 |    -3.248 |
#> |.....................|   -0.1126 |    -13.59 |     13.08 |     15.60 |
#> |.....................|     9.253 |...........|...........|...........|
#> |    5|     118.45659 |   -0.7247 |   -0.4172 |     1.022 |   -0.6088 |
#> |.....................|   -0.4209 |   -0.9921 |   -0.1685 |    0.3922 |
#> |.....................|    0.6493 |...........|...........|...........|
#> |    U|     118.45659 |    0.4644 |     1.000 |     3.472 |    0.6949 |
#> |.....................|    0.9994 |  0.007890 |     1.333 |     2.174 |
#> |.....................|     2.878 |...........|...........|...........|
#> |    X|     118.45659 |     1.591 |     2.719 |     32.21 |    0.6949 |
#> |.....................|     2.717 |     1.008 |     1.333 |     2.174 |
#> |.....................|     2.878 |...........|...........|...........|
#> |    F| Forward Diff. |  -0.06977 |    0.6254 |     15.33 |    -1.258 |
#> |.....................|    -1.329 |    0.6349 |     7.695 |     11.18 |
#> |.....................|     6.865 |...........|...........|...........|
#> |    6|     118.04847 |   -0.7248 |   -0.4067 |    0.9734 |   -0.6043 |
#> |.....................|   -0.4134 |   -0.9818 |   -0.2063 |    0.3286 |
#> |.....................|    0.6065 |...........|...........|...........|
#> |    U|     118.04847 |    0.4643 |     1.011 |     3.423 |    0.6965 |
#> |.....................|     1.007 |   0.01821 |     1.290 |     2.088 |
#> |.....................|     2.802 |...........|...........|...........|
#> |    X|     118.04847 |     1.591 |     2.748 |     30.67 |    0.6965 |
#> |.....................|     2.737 |     1.018 |     1.290 |     2.088 |
#> |.....................|     2.802 |...........|...........|...........|
#> |    F| Forward Diff. |     1.320 |     3.525 |    -37.31 |  -0.09968 |
#> |.....................|   0.06591 |     3.550 |     3.801 |     7.437 |
#> |.....................|     4.130 |...........|...........|...........|
#> |    7|     117.28912 |   -0.7264 |   -0.4381 |     1.023 |   -0.6098 |
#> |.....................|   -0.4059 |    -1.014 |   -0.2257 |    0.2692 |
#> |.....................|    0.5673 |...........|...........|...........|
#> |    U|     117.28912 |    0.4627 |    0.9793 |     3.473 |    0.6946 |
#> |.....................|     1.014 |  -0.01430 |     1.268 |     2.008 |
#> |.....................|     2.732 |...........|...........|...........|
#> |    X|     117.28912 |     1.588 |     2.663 |     32.22 |    0.6946 |
#> |.....................|     2.758 |    0.9858 |     1.268 |     2.008 |
#> |.....................|     2.732 |...........|...........|...........|
#> |    F| Forward Diff. |   -0.5880 |    -14.09 |     9.927 |   -0.4074 |
#> |.....................|   -0.8878 |    -14.29 |     1.126 |     3.439 |
#> |.....................|     2.081 |...........|...........|...........|
#> |    8|     118.03314 |   -0.7224 |   -0.3748 |     1.026 |   -0.6174 |
#> |.....................|   -0.3986 |   -0.9502 |   -0.2151 |    0.2361 |
#> |.....................|    0.5443 |...........|...........|...........|
#> |    U|     118.03314 |    0.4667 |     1.043 |     3.476 |    0.6919 |
#> |.....................|     1.022 |   0.04983 |     1.280 |     1.963 |
#> |.....................|     2.691 |...........|...........|...........|
#> |    X|     118.03314 |     1.595 |     2.837 |     32.32 |    0.6919 |
#> |.....................|     2.778 |     1.051 |     1.280 |     1.963 |
#> |.....................|     2.691 |...........|...........|...........|
#> |    9|     116.87496 |   -0.7255 |   -0.4158 |     1.007 |   -0.6091 |
#> |.....................|   -0.4045 |   -0.9917 |   -0.2274 |    0.2638 |
#> |.....................|    0.5640 |...........|...........|...........|
#> |    U|     116.87496 |    0.4637 |     1.002 |     3.457 |    0.6948 |
#> |.....................|     1.016 |  0.008338 |     1.266 |     2.000 |
#> |.....................|     2.726 |...........|...........|...........|
#> |    X|     116.87496 |     1.590 |     2.723 |     31.72 |    0.6948 |
#> |.....................|     2.761 |     1.008 |     1.266 |     2.000 |
#> |.....................|     2.726 |...........|...........|...........|
#> |    F| Forward Diff. |   0.09679 |   -0.6559 |    -2.632 |   -0.1556 |
#> |.....................|    -1.067 |   -0.6654 |     1.003 |     2.666 |
#> |.....................|     1.317 |...........|...........|...........|
#> |   10|     117.02096 |   -0.7263 |   -0.4103 |     1.029 |   -0.6078 |
#> |.....................|   -0.3956 |   -0.9861 |   -0.2358 |    0.2416 |
#> |.....................|    0.5530 |...........|...........|...........|
#> |    U|     117.02096 |    0.4629 |     1.007 |     3.479 |    0.6952 |
#> |.....................|     1.025 |   0.01388 |     1.256 |     1.970 |
#> |.....................|     2.707 |...........|...........|...........|
#> |    X|     117.02096 |     1.589 |     2.738 |     32.42 |    0.6952 |
#> |.....................|     2.786 |     1.014 |     1.256 |     1.970 |
#> |.....................|     2.707 |...........|...........|...........|
#> |   11|     116.85652 |   -0.7257 |   -0.4144 |     1.013 |   -0.6088 |
#> |.....................|   -0.4022 |   -0.9902 |   -0.2296 |    0.2581 |
#> |.....................|    0.5611 |...........|...........|...........|
#> |    U|     116.85652 |    0.4635 |     1.003 |     3.463 |    0.6949 |
#> |.....................|     1.018 |  0.009772 |     1.263 |     1.993 |
#> |.....................|     2.721 |...........|...........|...........|
#> |    X|     116.85652 |     1.590 |     2.727 |     31.90 |    0.6949 |
#> |.....................|     2.768 |     1.010 |     1.263 |     1.993 |
#> |.....................|     2.721 |...........|...........|...........|
#> |    F| Forward Diff. |  -0.04465 |    0.6304 |     3.187 |  -0.08629 |
#> |.....................|    -1.060 |    0.6426 |    0.7000 |     2.223 |
#> |.....................|     1.243 |...........|...........|...........|
#> |   12|     116.84481 |   -0.7256 |   -0.4157 |     1.006 |   -0.6086 |
#> |.....................|   -0.3998 |   -0.9916 |   -0.2311 |    0.2531 |
#> |.....................|    0.5584 |...........|...........|...........|
#> |    U|     116.84481 |    0.4636 |     1.002 |     3.456 |    0.6950 |
#> |.....................|     1.020 |  0.008400 |     1.262 |     1.986 |
#> |.....................|     2.716 |...........|...........|...........|
#> |    X|     116.84481 |     1.590 |     2.723 |     31.69 |    0.6950 |
#> |.....................|     2.774 |     1.008 |     1.262 |     1.986 |
#> |.....................|     2.716 |...........|...........|...........|
#> |    F| Forward Diff. |   0.09903 |   -0.6932 |    -3.584 | 0.0004455 |
#> |.....................|    -1.063 |   -0.7063 |    0.5774 |     1.934 |
#> |.....................|    0.9261 |...........|...........|...........|
#> |   13|     116.81838 |   -0.7256 |   -0.4156 |     1.012 |   -0.6099 |
#> |.....................|   -0.3897 |   -0.9915 |   -0.2307 |    0.2405 |
#> |.....................|    0.5517 |...........|...........|...........|
#> |    U|     116.81838 |    0.4635 |     1.002 |     3.462 |    0.6945 |
#> |.....................|     1.031 |  0.008516 |     1.262 |     1.969 |
#> |.....................|     2.704 |...........|...........|...........|
#> |    X|     116.81838 |     1.590 |     2.723 |     31.90 |    0.6945 |
#> |.....................|     2.803 |     1.009 |     1.262 |     1.969 |
#> |.....................|     2.704 |...........|...........|...........|
#> |    F| Forward Diff. |  -0.05659 |   -0.1808 |     2.707 |   -0.2314 |
#> |.....................|    -1.038 |   -0.1848 |    0.6231 |    0.9959 |
#> |.....................|    0.6262 |...........|...........|...........|
#> |   14|     116.81246 |   -0.7255 |   -0.4158 |     1.007 |   -0.6076 |
#> |.....................|   -0.3733 |   -0.9917 |   -0.2349 |    0.2362 |
#> |.....................|    0.5488 |...........|...........|...........|
#> |    U|     116.81246 |    0.4636 |     1.002 |     3.457 |    0.6953 |
#> |.....................|     1.047 |  0.008310 |     1.257 |     1.963 |
#> |.....................|     2.699 |...........|...........|...........|
#> |    X|     116.81246 |     1.590 |     2.723 |     31.72 |    0.6953 |
#> |.....................|     2.849 |     1.008 |     1.257 |     1.963 |
#> |.....................|     2.699 |...........|...........|...........|
#> |    F| Forward Diff. |   0.06136 |   -0.6362 |    -2.602 |    0.1691 |
#> |.....................|   -0.9905 |   -0.6639 |    0.1831 |    0.7333 |
#> |.....................|    0.3536 |...........|...........|...........|
#> |   15|     116.80869 |   -0.7257 |   -0.4150 |     1.011 |   -0.6090 |
#> |.....................|   -0.3553 |   -0.9904 |   -0.2374 |    0.2368 |
#> |.....................|    0.5482 |...........|...........|...........|
#> |    U|     116.80869 |    0.4634 |     1.002 |     3.461 |    0.6948 |
#> |.....................|     1.065 |  0.009556 |     1.254 |     1.964 |
#> |.....................|     2.698 |...........|...........|...........|
#> |    X|     116.80869 |     1.589 |     2.725 |     31.84 |    0.6948 |
#> |.....................|     2.901 |     1.010 |     1.254 |     1.964 |
#> |.....................|     2.698 |...........|...........|...........|
#> |    F| Forward Diff. |  -0.03143 |    0.2889 |     1.081 |   0.01740 |
#> |.....................|   -0.9301 |    0.3109 |   -0.1921 |    0.7207 |
#> |.....................|    0.4036 |...........|...........|...........|
#> |   16|     116.80846 |   -0.7255 |   -0.4152 |     1.009 |   -0.6112 |
#> |.....................|   -0.3390 |   -0.9909 |   -0.2299 |    0.2334 |
#> |.....................|    0.5456 |...........|...........|...........|
#> |    U|     116.80846 |    0.4636 |     1.002 |     3.459 |    0.6940 |
#> |.....................|     1.081 |  0.009143 |     1.263 |     1.959 |
#> |.....................|     2.694 |...........|...........|...........|
#> |    X|     116.80846 |     1.590 |     2.724 |     31.77 |    0.6940 |
#> |.....................|     2.949 |     1.009 |     1.263 |     1.959 |
#> |.....................|     2.694 |...........|...........|...........|
#> |    F| Forward Diff. |   0.04672 | -0.004295 |    -1.030 |   -0.1291 |
#> |.....................|   -0.8715 |  0.002131 |    0.7617 |    0.5157 |
#> |.....................|    0.1823 |...........|...........|...........|
#> |   17|     116.80952 |   -0.7257 |   -0.4152 |     1.013 |   -0.6103 |
#> |.....................|   -0.3322 |   -0.9910 |   -0.2339 |    0.2311 |
#> |.....................|    0.5453 |...........|...........|...........|
#> |    U|     116.80952 |    0.4634 |     1.002 |     3.463 |    0.6944 |
#> |.....................|     1.088 |  0.008978 |     1.258 |     1.956 |
#> |.....................|     2.693 |...........|...........|...........|
#> |    X|     116.80952 |     1.590 |     2.725 |     31.91 |    0.6944 |
#> |.....................|     2.969 |     1.009 |     1.258 |     1.956 |
#> |.....................|     2.693 |...........|...........|...........|
#> |   18|     116.80694 |   -0.7256 |   -0.4152 |     1.011 |   -0.6109 |
#> |.....................|   -0.3367 |   -0.9909 |   -0.2319 |    0.2320 |
#> |.....................|    0.5451 |...........|...........|...........|
#> |    U|     116.80694 |    0.4635 |     1.002 |     3.461 |    0.6942 |
#> |.....................|     1.084 |  0.009137 |     1.261 |     1.957 |
#> |.....................|     2.693 |...........|...........|...........|
#> |    X|     116.80694 |     1.590 |     2.725 |     31.86 |    0.6942 |
#> |.....................|     2.955 |     1.009 |     1.261 |     1.957 |
#> |.....................|     2.693 |...........|...........|...........|
#> |    F| Forward Diff. |  -0.03028 |    0.1674 |     1.594 |   -0.2384 |
#> |.....................|   -0.8710 |    0.1889 |    0.4883 |    0.3857 |
#> |.....................|    0.2068 |...........|...........|...........|
#> |   19|     116.80579 |   -0.7256 |   -0.4155 |     1.008 |   -0.6103 |
#> |.....................|   -0.3338 |   -0.9913 |   -0.2332 |    0.2313 |
#> |.....................|    0.5449 |...........|...........|...........|
#> |    U|     116.80579 |    0.4636 |     1.002 |     3.458 |    0.6944 |
#> |.....................|     1.086 |  0.008740 |     1.259 |     1.957 |
#> |.....................|     2.692 |...........|...........|...........|
#> |    X|     116.80579 |     1.590 |     2.724 |     31.77 |    0.6944 |
#> |.....................|     2.964 |     1.009 |     1.259 |     1.957 |
#> |.....................|     2.692 |...........|...........|...........|
#> |    F| Forward Diff. |   0.03176 |   -0.2218 |    -1.148 |   -0.1288 |
#> |.....................|   -0.8610 |   -0.2335 |    0.4197 |    0.3759 |
#> |.....................|    0.1438 |...........|...........|...........|
#> |   20|     116.80490 |   -0.7256 |   -0.4151 |     1.011 |   -0.6087 |
#> |.....................|   -0.3259 |   -0.9910 |   -0.2354 |    0.2309 |
#> |.....................|    0.5456 |...........|...........|...........|
#> |    U|      116.8049 |    0.4635 |     1.002 |     3.461 |    0.6949 |
#> |.....................|     1.094 |  0.008995 |     1.257 |     1.956 |
#> |.....................|     2.694 |...........|...........|...........|
#> |    X|      116.8049 |     1.590 |     2.725 |     31.84 |    0.6949 |
#> |.....................|     2.987 |     1.009 |     1.257 |     1.956 |
#> |.....................|     2.694 |...........|...........|...........|
#> |    F| Forward Diff. |  -0.02228 |    0.1385 |     1.031 |  -0.08496 |
#> |.....................|   -0.8411 |    0.1610 |   0.06259 |    0.3195 |
#> |.....................|    0.2048 |...........|...........|...........|
#> |   21|     116.80671 |   -0.7256 |   -0.4150 |     1.008 |   -0.6061 |
#> |.....................|   -0.3089 |   -0.9917 |   -0.2369 |    0.2315 |
#> |.....................|    0.5471 |...........|...........|...........|
#> |    U|     116.80671 |    0.4635 |     1.002 |     3.458 |    0.6958 |
#> |.....................|     1.111 |  0.008260 |     1.255 |     1.957 |
#> |.....................|     2.696 |...........|...........|...........|
#> |    X|     116.80671 |     1.590 |     2.725 |     31.76 |    0.6958 |
#> |.....................|     3.038 |     1.008 |     1.255 |     1.957 |
#> |.....................|     2.696 |...........|...........|...........|
#> |   22|     116.80552 |   -0.7256 |   -0.4152 |     1.008 |   -0.6076 |
#> |.....................|   -0.3185 |   -0.9915 |   -0.2360 |    0.2307 |
#> |.....................|    0.5459 |...........|...........|...........|
#> |    U|     116.80552 |    0.4635 |     1.002 |     3.458 |    0.6953 |
#> |.....................|     1.102 |  0.008507 |     1.256 |     1.956 |
#> |.....................|     2.694 |...........|...........|...........|
#> |    X|     116.80552 |     1.590 |     2.724 |     31.77 |    0.6953 |
#> |.....................|     3.010 |     1.009 |     1.256 |     1.956 |
#> |.....................|     2.694 |...........|...........|...........|
#> |   23|     116.80513 |   -0.7256 |   -0.4153 |     1.008 |   -0.6083 |
#> |.....................|   -0.3231 |   -0.9914 |   -0.2356 |    0.2303 |
#> |.....................|    0.5453 |...........|...........|...........|
#> |    U|     116.80513 |    0.4636 |     1.002 |     3.458 |    0.6951 |
#> |.....................|     1.097 |  0.008626 |     1.256 |     1.955 |
#> |.....................|     2.693 |...........|...........|...........|
#> |    X|     116.80513 |     1.590 |     2.724 |     31.77 |    0.6951 |
#> |.....................|     2.996 |     1.009 |     1.256 |     1.955 |
#> |.....................|     2.693 |...........|...........|...........|
#> |   24|     116.80438 |   -0.7256 |   -0.4152 |     1.009 |   -0.6086 |
#> |.....................|   -0.3248 |   -0.9912 |   -0.2354 |    0.2305 |
#> |.....................|    0.5454 |...........|...........|...........|
#> |    U|     116.80438 |    0.4636 |     1.002 |     3.459 |    0.6950 |
#> |.....................|     1.095 |  0.008794 |     1.257 |     1.955 |
#> |.....................|     2.693 |...........|...........|...........|
#> |    X|     116.80438 |     1.590 |     2.724 |     31.80 |    0.6950 |
#> |.....................|     2.991 |     1.009 |     1.257 |     1.955 |
#> |.....................|     2.693 |...........|...........|...........|
#> |    F| Forward Diff. |  0.007505 |  -0.05573 |   -0.2366 |  0.004925 |
#> |.....................|   -0.8347 |  -0.05207 |   0.09580 |    0.3209 |
#> |.....................|    0.1753 |...........|...........|...........|
#> |   25|     116.80406 |   -0.7256 |   -0.4150 |     1.010 |   -0.6086 |
#> |.....................|   -0.3217 |   -0.9910 |   -0.2358 |    0.2293 |
#> |.....................|    0.5447 |...........|...........|...........|
#> |    U|     116.80406 |    0.4635 |     1.002 |     3.460 |    0.6950 |
#> |.....................|     1.099 |  0.008987 |     1.256 |     1.954 |
#> |.....................|     2.692 |...........|...........|...........|
#> |    X|     116.80406 |     1.590 |     2.725 |     31.83 |    0.6950 |
#> |.....................|     3.000 |     1.009 |     1.256 |     1.954 |
#> |.....................|     2.692 |...........|...........|...........|
#> |    F| Forward Diff. |  -0.01408 |    0.1254 |    0.6289 |   0.06360 |
#> |.....................|   -0.8281 |    0.1471 |   0.04100 |    0.2295 |
#> |.....................|    0.1640 |...........|...........|...........|
#> |   26|     116.80458 |   -0.7256 |   -0.4152 |     1.008 |   -0.6103 |
#> |.....................|   -0.3152 |   -0.9915 |   -0.2367 |    0.2289 |
#> |.....................|    0.5443 |...........|...........|...........|
#> |    U|     116.80458 |    0.4635 |     1.002 |     3.458 |    0.6944 |
#> |.....................|     1.105 |  0.008514 |     1.255 |     1.953 |
#> |.....................|     2.691 |...........|...........|...........|
#> |    X|     116.80458 |     1.590 |     2.724 |     31.77 |    0.6944 |
#> |.....................|     3.019 |     1.009 |     1.255 |     1.953 |
#> |.....................|     2.691 |...........|...........|...........|
#> |   27|     116.80462 |   -0.7256 |   -0.4154 |     1.008 |   -0.6088 |
#> |.....................|   -0.3192 |   -0.9915 |   -0.2359 |    0.2286 |
#> |.....................|    0.5442 |...........|...........|...........|
#> |    U|     116.80462 |    0.4636 |     1.002 |     3.458 |    0.6949 |
#> |.....................|     1.101 |  0.008548 |     1.256 |     1.953 |
#> |.....................|     2.691 |...........|...........|...........|
#> |    X|     116.80462 |     1.590 |     2.724 |     31.77 |    0.6949 |
#> |.....................|     3.007 |     1.009 |     1.256 |     1.953 |
#> |.....................|     2.691 |...........|...........|...........|
#> |   28|     116.80387 |   -0.7256 |   -0.4152 |     1.009 |   -0.6087 |
#> |.....................|   -0.3206 |   -0.9912 |   -0.2358 |    0.2290 |
#> |.....................|    0.5445 |...........|...........|...........|
#> |    U|     116.80387 |    0.4635 |     1.002 |     3.459 |    0.6949 |
#> |.....................|     1.100 |  0.008797 |     1.256 |     1.953 |
#> |.....................|     2.692 |...........|...........|...........|
#> |    X|     116.80387 |     1.590 |     2.724 |     31.80 |    0.6949 |
#> |.....................|     3.003 |     1.009 |     1.256 |     1.953 |
#> |.....................|     2.692 |...........|...........|...........|
#> |    F| Forward Diff. |  0.004171 |  -0.03095 |   -0.1730 |    0.1211 |
#> |.....................|   -0.8225 |  -0.02511 |   0.09302 |    0.2082 |
#> |.....................|    0.1327 |...........|...........|...........|
#> |   29|     116.80367 |   -0.7256 |   -0.4151 |     1.010 |   -0.6091 |
#> |.....................|   -0.3180 |   -0.9911 |   -0.2361 |    0.2283 |
#> |.....................|    0.5441 |...........|...........|...........|
#> |    U|     116.80367 |    0.4635 |     1.002 |     3.460 |    0.6948 |
#> |.....................|     1.102 |  0.008877 |     1.256 |     1.953 |
#> |.....................|     2.691 |...........|...........|...........|
#> |    X|     116.80367 |     1.590 |     2.725 |     31.82 |    0.6948 |
#> |.....................|     3.011 |     1.009 |     1.256 |     1.953 |
#> |.....................|     2.691 |...........|...........|...........|
#> |    C| Central Diff. |  -0.02268 |   0.02197 |    0.2634 |   0.07429 |
#> |.....................|    0.4319 |   0.02418 |   -0.1614 |    0.2090 |
#> |.....................|   0.09616 |...........|...........|...........|
#> |   30|     116.80362 |   -0.7255 |   -0.4151 |     1.009 |   -0.6093 |
#> |.....................|   -0.3191 |   -0.9912 |   -0.2358 |    0.2278 |
#> |.....................|    0.5438 |...........|...........|...........|
#> |    U|     116.80362 |    0.4636 |     1.002 |     3.459 |    0.6947 |
#> |.....................|     1.101 |  0.008818 |     1.256 |     1.952 |
#> |.....................|     2.690 |...........|...........|...........|
#> |    X|     116.80362 |     1.590 |     2.725 |     31.80 |    0.6947 |
#> |.....................|     3.008 |     1.009 |     1.256 |     1.952 |
#> |.....................|     2.690 |...........|...........|...........|
#> |    C| Central Diff. | -0.004902 |  -0.05560 |   -0.3425 |  -0.06713 |
#> |.....................|    0.4342 |  -0.06126 |   -0.1009 |    0.1343 |
#> |.....................|   0.07798 |...........|...........|...........|
#> |   31|     116.80362 |   -0.7255 |   -0.4151 |     1.009 |   -0.6093 |
#> |.....................|   -0.3191 |   -0.9912 |   -0.2358 |    0.2278 |
#> |.....................|    0.5438 |...........|...........|...........|
#> |    U|     116.80362 |    0.4636 |     1.002 |     3.459 |    0.6947 |
#> |.....................|     1.101 |  0.008818 |     1.256 |     1.952 |
#> |.....................|     2.690 |...........|...........|...........|
#> |    X|     116.80362 |     1.590 |     2.725 |     31.80 |    0.6947 |
#> |.....................|     3.008 |     1.009 |     1.256 |     1.952 |
#> |.....................|     2.690 |...........|...........|...........|
#> calculating covariance matrix
#> done
#> Calculating residuals/tables
#> done
#>  added categorical_SEX_0*cov_SEX_0_ka to ka's equation in the model
#>  updated value: ka<-exp(tka+categorical_SEX_0*cov_SEX_0_ka+eta.ka)
#> → creating full model...
#> → pruning branches (`if`/`else`)...
#>  done
#> → loading into symengine environment...
#>  done
#> → creating full model...
#> → pruning branches (`if`/`else`)...
#>  done
#> → loading into symengine environment...
#>  done
#> → calculate jacobian
#> 
#> → calculate ∂(f)/∂(η)
#> 
#> → calculate ∂(R²)/∂(η)
#> 
#> → finding duplicate expressions in inner model...
#> 
#> → optimizing duplicate expressions in inner model...
#> 
#> → finding duplicate expressions in EBE model...
#> 
#> → optimizing duplicate expressions in EBE model...
#> 
#> → compiling inner model...
#>  
#>  done
#> → finding duplicate expressions in FD model...
#> 
#> → compiling EBE model...
#>  
#>  done
#> → compiling events FD model...
#>  
#>  done
#> Needed Covariates:
#> [1] "categorical_SEX_0"
#> Key: U: Unscaled Parameters; X: Back-transformed parameters; G: Gill difference gradient approximation
#> F: Forward difference gradient approximation
#> C: Central difference gradient approximation
#> M: Mixed forward and central difference gradient approximation
#> Unscaled parameters for Omegas=chol(solve(omega));
#> Diagonals are transformed, as specified by foceiControl(diagXform=)
#> |-----+---------------+-----------+-----------+-----------+-----------|
#> |    #| Objective Fun |       tka |       tcl |        tv |    add.sd |
#> |.....................|cov_SEX_0_ka |        o1 |        o2 |        o3 |
#> |    1|     133.57512 |   -0.7391 |   -0.4242 |     1.000 |   -0.5942 |
#> |.....................|    -1.000 |   -0.3413 |   -0.2167 |   0.03089 |
#> |    U|     133.57512 |    0.4500 |    0.9933 |     3.450 |    0.7000 |
#> |.....................|     0.000 |     1.136 |     1.351 |     1.778 |
#> |    X|     133.57512 |     1.568 |     2.700 |     31.50 |    0.7000 |
#> |.....................|     1.000 |     1.136 |     1.351 |     1.778 |
#> |    G|    Gill Diff. |   -0.9310 |    -1.614 |    -3.052 |     1.486 |
#> |.....................|   -0.4170 |    -11.76 |    -35.33 |    -34.78 |
#> |    2|     122.55580 |   -0.7209 |   -0.3926 |     1.060 |   -0.6233 |
#> |.....................|   -0.9918 |   -0.1113 |    0.4747 |    0.7115 |
#> |    U|      122.5558 |    0.4682 |     1.025 |     3.510 |    0.6898 |
#> |.....................|  0.008161 |     1.398 |     2.285 |     2.989 |
#> |    X|      122.5558 |     1.597 |     2.787 |     33.44 |    0.6898 |
#> |.....................|     1.008 |     1.398 |     2.285 |     2.989 |
#> |    F| Forward Diff. |   -0.5879 |     14.77 |     69.80 |    -4.764 |
#> |.....................|  -0.03637 |     13.98 |     16.75 |     13.92 |
#> |    3|     691.10616 |   -0.7031 |   -0.5849 |    0.1039 |   -0.5711 |
#> |.....................|   -0.9871 |   -0.1889 |    0.5986 |    0.8696 |
#> |    U|     691.10616 |    0.4860 |    0.8325 |     2.554 |    0.7081 |
#> |.....................|   0.01293 |     1.309 |     2.453 |     3.270 |
#> |    X|     691.10616 |     1.626 |     2.299 |     12.86 |    0.7081 |
#> |.....................|     1.013 |     1.309 |     2.453 |     3.270 |
#> |    4|     121.02874 |   -0.7201 |   -0.4120 |    0.9679 |   -0.6170 |
#> |.....................|   -0.9918 |   -0.1297 |    0.4527 |    0.6932 |
#> |    U|     121.02874 |    0.4690 |     1.005 |     3.418 |    0.6920 |
#> |.....................|  0.008209 |     1.377 |     2.256 |     2.956 |
#> |    X|     121.02874 |     1.598 |     2.733 |     30.51 |    0.6920 |
#> |.....................|     1.008 |     1.377 |     2.256 |     2.956 |
#> |    F| Forward Diff. |     2.917 |    -6.971 |    -53.55 |    -2.967 |
#> |.....................|     1.742 |     13.03 |     15.44 |     9.483 |
#> |    5|     118.40174 |   -0.7260 |   -0.4105 |     1.019 |   -0.6065 |
#> |.....................|   -0.9955 |   -0.1723 |    0.3939 |    0.6492 |
#> |    U|     118.40174 |    0.4631 |     1.007 |     3.469 |    0.6957 |
#> |.....................|  0.004509 |     1.328 |     2.176 |     2.878 |
#> |    X|     118.40174 |     1.589 |     2.737 |     32.11 |    0.6957 |
#> |.....................|     1.005 |     1.328 |     2.176 |     2.878 |
#> |    F| Forward Diff. |   0.07633 |   -0.1581 |     11.46 |   -0.8748 |
#> |.....................|    0.1348 |     7.362 |     11.25 |     6.703 |
#> |    6|     117.95495 |   -0.7267 |   -0.4039 |    0.9747 |   -0.6032 |
#> |.....................|   -0.9963 |   -0.2125 |    0.3261 |    0.6074 |
#> |    U|     117.95495 |    0.4625 |     1.014 |     3.425 |    0.6969 |
#> |.....................|  0.003734 |     1.283 |     2.085 |     2.804 |
#> |    X|     117.95495 |     1.588 |     2.755 |     30.71 |    0.6969 |
#> |.....................|     1.004 |     1.283 |     2.085 |     2.804 |
#> |    F| Forward Diff. |     1.142 |    -2.109 |    -37.25 |    0.1578 |
#> |.....................|    0.6370 |     3.033 |     7.179 |     4.214 |
#> |    7|     117.27615 |   -0.7182 |   -0.4100 |     1.035 |   -0.6363 |
#> |.....................|   -0.9909 |   -0.2254 |    0.1674 |    0.5083 |
#> |    U|     117.27615 |    0.4709 |     1.007 |     3.485 |    0.6853 |
#> |.....................|  0.009073 |     1.268 |     1.870 |     2.627 |
#> |    X|     117.27615 |     1.601 |     2.738 |     32.61 |    0.6853 |
#> |.....................|     1.009 |     1.268 |     1.870 |     2.627 |
#> |    F| Forward Diff. |    0.1169 |  -0.05648 |     21.58 |    -2.781 |
#> |.....................|    0.1842 |     1.470 |    -4.358 |    -1.196 |
#> |    8|     118.54890 |   -0.7525 |   -0.3501 |     1.019 |   -0.5088 |
#> |.....................|    -1.016 |   -0.3335 |    0.2430 |    0.4814 |
#> |    U|      118.5489 |    0.4367 |     1.067 |     3.469 |    0.7299 |
#> |.....................|  -0.01566 |     1.145 |     1.972 |     2.579 |
#> |    X|      118.5489 |     1.548 |     2.908 |     32.11 |    0.7299 |
#> |.....................|    0.9845 |     1.145 |     1.972 |     2.579 |
#> |    9|     116.93464 |   -0.7235 |   -0.4010 |     1.003 |   -0.6135 |
#> |.....................|   -0.9949 |   -0.2436 |    0.1846 |    0.5059 |
#> |    U|     116.93464 |    0.4656 |     1.016 |     3.453 |    0.6933 |
#> |.....................|  0.005125 |     1.247 |     1.893 |     2.623 |
#> |    X|     116.93464 |     1.593 |     2.763 |     31.60 |    0.6933 |
#> |.....................|     1.005 |     1.247 |     1.893 |     2.623 |
#> |    F| Forward Diff. |    0.3488 |    0.7543 |    -5.973 |   -0.1278 |
#> |.....................|    0.2306 |   -0.8978 |    -3.081 |    -2.164 |
#> |   10|     116.93744 |   -0.7321 |   -0.4192 |     1.016 |   -0.5997 |
#> |.....................|    -1.001 |   -0.2676 |    0.2064 |    0.5262 |
#> |    U|     116.93744 |    0.4571 |    0.9982 |     3.466 |    0.6981 |
#> |.....................| -0.001381 |     1.220 |     1.923 |     2.659 |
#> |    X|     116.93744 |     1.579 |     2.713 |     32.01 |    0.6981 |
#> |.....................|    0.9986 |     1.220 |     1.923 |     2.659 |
#> |   11|     116.88388 |   -0.7271 |   -0.4087 |     1.015 |   -0.6082 |
#> |.....................|   -0.9976 |   -0.2515 |    0.1963 |    0.5160 |
#> |    U|     116.88388 |    0.4620 |     1.009 |     3.465 |    0.6951 |
#> |.....................|  0.002425 |     1.238 |     1.909 |     2.641 |
#> |    X|     116.88388 |     1.587 |     2.742 |     31.97 |    0.6951 |
#> |.....................|     1.002 |     1.238 |     1.909 |     2.641 |
#> |    F| Forward Diff. |   -0.2061 |   -0.6685 |     4.419 |    0.3784 |
#> |.....................|  -0.09611 |    -1.834 |    -2.265 |    -1.332 |
#> |   12|     116.83811 |   -0.7273 |   -0.3999 |     1.007 |   -0.6172 |
#> |.....................|   -0.9986 |   -0.2402 |    0.2040 |    0.5279 |
#> |    U|     116.83811 |    0.4618 |     1.018 |     3.457 |    0.6919 |
#> |.....................|  0.001424 |     1.251 |     1.920 |     2.662 |
#> |    X|     116.83811 |     1.587 |     2.766 |     31.72 |    0.6919 |
#> |.....................|     1.001 |     1.251 |     1.920 |     2.662 |
#> |    F| Forward Diff. |-0.0007674 |     1.289 |    -2.244 |   -0.5382 |
#> |.....................|   0.03519 |   -0.5761 |    -1.568 |   -0.9295 |
#> |   13|     116.84153 |   -0.7239 |   -0.4172 |     1.012 |   -0.6120 |
#> |.....................|   -0.9975 |   -0.2292 |    0.2099 |    0.5327 |
#> |    U|     116.84153 |    0.4653 |     1.000 |     3.462 |    0.6938 |
#> |.....................|  0.002457 |     1.264 |     1.928 |     2.671 |
#> |    X|     116.84153 |     1.592 |     2.719 |     31.89 |    0.6938 |
#> |.....................|     1.002 |     1.264 |     1.928 |     2.671 |
#> |   14|     116.83067 |   -0.7273 |   -0.4043 |     1.015 |   -0.6154 |
#> |.....................|   -0.9987 |   -0.2382 |    0.2093 |    0.5311 |
#> |    U|     116.83067 |    0.4618 |     1.013 |     3.465 |    0.6926 |
#> |.....................|  0.001304 |     1.253 |     1.927 |     2.668 |
#> |    X|     116.83067 |     1.587 |     2.754 |     31.96 |    0.6926 |
#> |.....................|     1.001 |     1.253 |     1.927 |     2.668 |
#> |    F| Forward Diff. |   -0.1828 |    0.5439 |     4.567 |   -0.4765 |
#> |.....................|  -0.09208 |   -0.2145 |    -1.232 |   -0.5325 |
#> |   15|     116.82363 |   -0.7260 |   -0.4111 |     1.007 |   -0.6129 |
#> |.....................|   -0.9981 |   -0.2366 |    0.2120 |    0.5328 |
#> |    U|     116.82363 |    0.4632 |     1.006 |     3.457 |    0.6935 |
#> |.....................|  0.001909 |     1.255 |     1.931 |     2.671 |
#> |    X|     116.82363 |     1.589 |     2.736 |     31.73 |    0.6935 |
#> |.....................|     1.002 |     1.255 |     1.931 |     2.671 |
#> |    F| Forward Diff. |   0.04808 |    -1.781 |    -2.754 |  -0.07838 |
#> |.....................|   0.06039 |   0.01268 |    -1.004 |   -0.6139 |
#> |   16|     116.81169 |   -0.7238 |   -0.4029 |     1.009 |   -0.6086 |
#> |.....................|   -0.9972 |   -0.2400 |    0.2157 |    0.5344 |
#> |    U|     116.81169 |    0.4653 |     1.015 |     3.459 |    0.6950 |
#> |.....................|  0.002787 |     1.251 |     1.936 |     2.674 |
#> |    X|     116.81169 |     1.593 |     2.758 |     31.80 |    0.6950 |
#> |.....................|     1.003 |     1.251 |     1.936 |     2.674 |
#> |    F| Forward Diff. |    0.1678 |    0.6905 |   -0.1425 |    0.2402 |
#> |.....................|    0.1112 |   -0.4240 |   -0.7482 |   -0.4865 |
#> |   17|     116.80677 |   -0.7253 |   -0.4090 |     1.011 |   -0.6107 |
#> |.....................|   -0.9982 |   -0.2362 |    0.2224 |    0.5387 |
#> |    U|     116.80677 |    0.4638 |     1.008 |     3.461 |    0.6942 |
#> |.....................|  0.001805 |     1.256 |     1.944 |     2.681 |
#> |    X|     116.80677 |     1.590 |     2.741 |     31.84 |    0.6942 |
#> |.....................|     1.002 |     1.256 |     1.944 |     2.681 |
#> |    F| Forward Diff. |   0.01504 |   -0.9812 |    0.7515 |  0.005409 |
#> |.....................|   0.03209 |   0.04021 |   -0.3249 |   -0.1749 |
#> |   18|     116.81581 |   -0.7286 |   -0.4032 |     1.005 |   -0.6138 |
#> |.....................|    -1.001 |   -0.2368 |    0.2265 |    0.5414 |
#> |    U|     116.81581 |    0.4605 |     1.014 |     3.455 |    0.6932 |
#> |.....................|-0.0008846 |     1.255 |     1.950 |     2.686 |
#> |    X|     116.81581 |     1.585 |     2.757 |     31.65 |    0.6932 |
#> |.....................|    0.9991 |     1.255 |     1.950 |     2.686 |
#> |   19|     116.80493 |   -0.7253 |   -0.4066 |     1.009 |   -0.6107 |
#> |.....................|   -0.9983 |   -0.2363 |    0.2232 |    0.5391 |
#> |    U|     116.80493 |    0.4638 |     1.011 |     3.459 |    0.6942 |
#> |.....................|  0.001725 |     1.256 |     1.946 |     2.682 |
#> |    X|     116.80493 |     1.590 |     2.748 |     31.78 |    0.6942 |
#> |.....................|     1.002 |     1.256 |     1.946 |     2.682 |
#> |    F| Forward Diff. |   0.06453 |   -0.3935 |   -0.8599 |   0.04371 |
#> |.....................|   0.04027 | -0.006993 |   -0.2461 |   -0.2039 |
#> |   20|     116.80475 |   -0.7264 |   -0.4054 |     1.011 |   -0.6118 |
#> |.....................|   -0.9989 |   -0.2371 |    0.2235 |    0.5401 |
#> |    U|     116.80475 |    0.4627 |     1.012 |     3.461 |    0.6939 |
#> |.....................|  0.001053 |     1.255 |     1.946 |     2.684 |
#> |    X|     116.80475 |     1.588 |     2.751 |     31.85 |    0.6939 |
#> |.....................|     1.001 |     1.255 |     1.946 |     2.684 |
#> |    C| Central Diff. |  -0.06906 |   0.03123 |     1.157 |   -0.2742 |
#> |.....................|  -0.05595 |   -0.1278 |   -0.1446 |  -0.09143 |
#> |   21|     116.80475 |   -0.7264 |   -0.4054 |     1.011 |   -0.6118 |
#> |.....................|   -0.9989 |   -0.2371 |    0.2235 |    0.5401 |
#> |    U|     116.80475 |    0.4627 |     1.012 |     3.461 |    0.6939 |
#> |.....................|  0.001053 |     1.255 |     1.946 |     2.684 |
#> |    X|     116.80475 |     1.588 |     2.751 |     31.85 |    0.6939 |
#> |.....................|     1.001 |     1.255 |     1.946 |     2.684 |
#> calculating covariance matrix
#> done
#> Calculating residuals/tables
#> done
#>  added categorical_SEX_0*cov_SEX_0_cl to cl's equation in the model
#>  updated value: cl<-exp(tcl+categorical_SEX_0*cov_SEX_0_cl+eta.cl)
#> → creating full model...
#> → pruning branches (`if`/`else`)...
#>  done
#> → loading into symengine environment...
#>  done
#> → creating full model...
#> → pruning branches (`if`/`else`)...
#>  done
#> → loading into symengine environment...
#>  done
#> → calculate jacobian
#> 
#> → calculate ∂(f)/∂(η)
#> 
#> → calculate ∂(R²)/∂(η)
#> 
#> → finding duplicate expressions in inner model...
#> 
#> → optimizing duplicate expressions in inner model...
#> 
#> → finding duplicate expressions in EBE model...
#> 
#> → optimizing duplicate expressions in EBE model...
#> 
#> → compiling inner model...
#>  
#>  done
#> → finding duplicate expressions in FD model...
#> 
#> → compiling EBE model...
#>  
#>  done
#> → compiling events FD model...
#>  
#>  done
#> Needed Covariates:
#> [1] "categorical_SEX_0"
#> Key: U: Unscaled Parameters; X: Back-transformed parameters; G: Gill difference gradient approximation
#> F: Forward difference gradient approximation
#> C: Central difference gradient approximation
#> M: Mixed forward and central difference gradient approximation
#> Unscaled parameters for Omegas=chol(solve(omega));
#> Diagonals are transformed, as specified by foceiControl(diagXform=)
#> |-----+---------------+-----------+-----------+-----------+-----------|
#> |    #| Objective Fun |       tka |       tcl |        tv |    add.sd |
#> |.....................|cov_SEX_0_cl |        o1 |        o2 |        o3 |
#> |    1|     133.57512 |   -0.7391 |   -0.4242 |     1.000 |   -0.5942 |
#> |.....................|    -1.000 |   -0.3413 |   -0.2167 |   0.03089 |
#> |    U|     133.57512 |    0.4500 |    0.9933 |     3.450 |    0.7000 |
#> |.....................|     0.000 |     1.136 |     1.351 |     1.778 |
#> |    X|     133.57512 |     1.568 |     2.700 |     31.50 |    0.7000 |
#> |.....................|     1.000 |     1.136 |     1.351 |     1.778 |
#> |    G|    Gill Diff. |   -0.9310 |    -1.614 |    -3.052 |     1.486 |
#> |.....................|    -1.911 |    -11.76 |    -35.33 |    -34.78 |
#> |    2|     122.78605 |   -0.7209 |   -0.3926 |     1.060 |   -0.6233 |
#> |.....................|   -0.9626 |   -0.1114 |    0.4743 |    0.7110 |
#> |    U|     122.78605 |    0.4682 |     1.025 |     3.510 |    0.6898 |
#> |.....................|   0.03737 |     1.397 |     2.285 |     2.988 |
#> |    X|     122.78605 |     1.597 |     2.787 |     33.44 |    0.6898 |
#> |.....................|     1.038 |     1.397 |     2.285 |     2.988 |
#> |    F| Forward Diff. |   -0.7175 |     23.77 |     72.40 |    -4.622 |
#> |.....................|     11.27 |     14.06 |     17.31 |     14.12 |
#> |    3|     737.26348 |   -0.7017 |   -0.6865 |    0.1450 |   -0.5785 |
#> |.....................|    -1.090 |   -0.1712 |    0.6210 |    0.8935 |
#> |    U|     737.26348 |    0.4874 |    0.7309 |     2.595 |    0.7055 |
#> |.....................|  -0.08988 |     1.330 |     2.483 |     3.312 |
#> |    X|     737.26348 |     1.628 |     2.077 |     13.40 |    0.7055 |
#> |.....................|    0.9140 |     1.330 |     2.483 |     3.312 |
#> |    4|     120.78492 |   -0.7200 |   -0.4218 |    0.9709 |   -0.6176 |
#> |.....................|   -0.9764 |   -0.1287 |    0.4531 |    0.6937 |
#> |    U|     120.78492 |    0.4691 |    0.9957 |     3.421 |    0.6918 |
#> |.....................|   0.02355 |     1.378 |     2.256 |     2.957 |
#> |    X|     120.78492 |     1.599 |     2.707 |     30.60 |    0.6918 |
#> |.....................|     1.024 |     1.378 |     2.256 |     2.957 |
#> |    F| Forward Diff. |     2.525 |    -5.693 |    -49.31 |    -2.936 |
#> |.....................|    -5.216 |     13.09 |     15.32 |     9.286 |
#> |    5|     118.38401 |   -0.7252 |   -0.4269 |     1.023 |   -0.6077 |
#> |.....................|   -0.9741 |   -0.1706 |    0.3941 |    0.6497 |
#> |    U|     118.38401 |    0.4639 |    0.9905 |     3.473 |    0.6953 |
#> |.....................|   0.02586 |     1.330 |     2.176 |     2.879 |
#> |    X|     118.38401 |     1.590 |     2.693 |     32.22 |    0.6953 |
#> |.....................|     1.026 |     1.330 |     2.176 |     2.879 |
#> |    F| Forward Diff. |   -0.1545 |    -1.289 |     15.24 |    -1.148 |
#> |.....................|    -2.516 |     7.426 |     11.05 |     6.967 |
#> |    6|     117.77279 |   -0.7252 |   -0.4086 |    0.9790 |   -0.6031 |
#> |.....................|   -0.9555 |   -0.2085 |    0.3301 |    0.6066 |
#> |    U|     117.77279 |    0.4639 |     1.009 |     3.429 |    0.6969 |
#> |.....................|   0.04453 |     1.287 |     2.090 |     2.802 |
#> |    X|     117.77279 |     1.590 |     2.743 |     30.84 |    0.6969 |
#> |.....................|     1.046 |     1.287 |     2.090 |     2.802 |
#> |    F| Forward Diff. |     1.142 |     4.769 |    -31.03 |    0.2374 |
#> |.....................|     2.300 |     3.462 |     7.315 |     3.986 |
#> |    7|     116.95538 |   -0.7250 |   -0.4398 |     1.025 |   -0.6141 |
#> |.....................|   -0.9699 |   -0.2212 |    0.2621 |    0.5641 |
#> |    U|     116.95538 |    0.4641 |    0.9776 |     3.475 |    0.6930 |
#> |.....................|   0.03008 |     1.273 |     1.998 |     2.726 |
#> |    X|     116.95538 |     1.591 |     2.658 |     32.29 |    0.6930 |
#> |.....................|     1.031 |     1.273 |     1.998 |     2.726 |
#> |    F| Forward Diff. |   -0.3886 |    -4.961 |     13.94 |   -0.7001 |
#> |.....................|    -3.729 |     1.665 |     2.316 |     1.932 |
#> |    8|     117.33632 |   -0.7215 |   -0.3841 |     1.016 |   -0.6204 |
#> |.....................|   -0.9264 |   -0.2098 |    0.2107 |    0.5182 |
#> |    U|     117.33632 |    0.4676 |     1.033 |     3.466 |    0.6908 |
#> |.....................|   0.07358 |     1.286 |     1.929 |     2.645 |
#> |    X|     117.33632 |     1.596 |     2.810 |     32.01 |    0.6908 |
#> |.....................|     1.076 |     1.286 |     1.929 |     2.645 |
#> |    9|     116.76621 |   -0.7239 |   -0.4230 |     1.006 |   -0.6145 |
#> |.....................|   -0.9570 |   -0.2211 |    0.2494 |    0.5528 |
#> |    U|     116.76621 |    0.4653 |    0.9945 |     3.456 |    0.6929 |
#> |.....................|   0.04304 |     1.273 |     1.981 |     2.706 |
#> |    X|     116.76621 |     1.592 |     2.703 |     31.69 |    0.6929 |
#> |.....................|     1.044 |     1.273 |     1.981 |     2.706 |
#> |    F| Forward Diff. |    0.2608 |     1.051 |    -3.353 |   -0.5297 |
#> |.....................|    0.2923 |     1.917 |     1.422 |    0.6972 |
#> |   10|     116.75244 |   -0.7265 |   -0.4298 |     1.012 |   -0.6020 |
#> |.....................|   -0.9537 |   -0.2497 |    0.2443 |    0.5524 |
#> |    U|     116.75244 |    0.4626 |    0.9877 |     3.462 |    0.6973 |
#> |.....................|   0.04626 |     1.240 |     1.974 |     2.706 |
#> |    X|     116.75244 |     1.588 |     2.685 |     31.87 |    0.6973 |
#> |.....................|     1.047 |     1.240 |     1.974 |     2.706 |
#> |    F| Forward Diff. |   -0.1254 |   -0.2137 |     1.980 |    0.8773 |
#> |.....................|  -0.09804 |    -1.727 |     1.005 |    0.8043 |
#> |   11|     116.75284 |   -0.7275 |   -0.4383 |     1.006 |   -0.6100 |
#> |.....................|   -0.9551 |   -0.2372 |    0.2215 |    0.5365 |
#> |    U|     116.75284 |    0.4617 |    0.9791 |     3.456 |    0.6945 |
#> |.....................|   0.04491 |     1.255 |     1.943 |     2.677 |
#> |    X|     116.75284 |     1.587 |     2.662 |     31.68 |    0.6945 |
#> |.....................|     1.046 |     1.255 |     1.943 |     2.677 |
#> |   12|     116.74590 |   -0.7263 |   -0.4312 |     1.004 |   -0.6067 |
#> |.....................|   -0.9538 |   -0.2412 |    0.2356 |    0.5460 |
#> |    U|      116.7459 |    0.4628 |    0.9863 |     3.454 |    0.6956 |
#> |.....................|   0.04624 |     1.250 |     1.962 |     2.694 |
#> |    X|      116.7459 |     1.588 |     2.681 |     31.62 |    0.6956 |
#> |.....................|     1.047 |     1.250 |     1.962 |     2.694 |
#> |    F| Forward Diff. |   0.06437 |    -1.139 |    -5.610 |    0.5232 |
#> |.....................|   -0.5415 |   -0.5972 |    0.4651 |    0.2684 |
#> |   13|     116.73422 |   -0.7262 |   -0.4250 |     1.013 |   -0.6111 |
#> |.....................|   -0.9498 |   -0.2346 |    0.2288 |    0.5408 |
#> |    U|     116.73422 |    0.4629 |    0.9925 |     3.463 |    0.6941 |
#> |.....................|   0.05020 |     1.258 |     1.953 |     2.685 |
#> |    X|     116.73422 |     1.589 |     2.698 |     31.91 |    0.6941 |
#> |.....................|     1.051 |     1.258 |     1.953 |     2.685 |
#> |    F| Forward Diff. |  -0.07660 |     1.817 |     3.420 |  -0.05880 |
#> |.....................|     1.193 |    0.2120 |  -0.05659 |    0.1084 |
#> |   14|     116.74172 |   -0.7251 |   -0.4344 |     1.013 |   -0.6141 |
#> |.....................|   -0.9595 |   -0.2384 |    0.2248 |    0.5339 |
#> |    U|     116.74172 |    0.4641 |    0.9830 |     3.463 |    0.6930 |
#> |.....................|   0.04053 |     1.253 |     1.948 |     2.673 |
#> |    X|     116.74172 |     1.591 |     2.673 |     31.90 |    0.6930 |
#> |.....................|     1.041 |     1.253 |     1.948 |     2.673 |
#> |   15|     116.72382 |   -0.7259 |   -0.4289 |     1.009 |   -0.6117 |
#> |.....................|   -0.9531 |   -0.2356 |    0.2280 |    0.5392 |
#> |    U|     116.72382 |    0.4632 |    0.9885 |     3.459 |    0.6939 |
#> |.....................|   0.04689 |     1.256 |     1.952 |     2.682 |
#> |    X|     116.72382 |     1.589 |     2.687 |     31.80 |    0.6939 |
#> |.....................|     1.048 |     1.256 |     1.952 |     2.682 |
#> |    F| Forward Diff. |  -0.01181 |  -0.03558 |   -0.2926 |   -0.1382 |
#> |.....................|   0.03094 |    0.1167 |   -0.1180 |  -0.03285 |
#> |   16|     116.72556 |   -0.7248 |   -0.4293 |     1.011 |   -0.6074 |
#> |.....................|   -0.9562 |   -0.2368 |    0.2309 |    0.5384 |
#> |    U|     116.72556 |    0.4643 |    0.9881 |     3.461 |    0.6954 |
#> |.....................|   0.04377 |     1.255 |     1.956 |     2.681 |
#> |    X|     116.72556 |     1.591 |     2.686 |     31.85 |    0.6954 |
#> |.....................|     1.045 |     1.255 |     1.956 |     2.681 |
#> |   17|     116.72368 |   -0.7257 |   -0.4289 |     1.010 |   -0.6108 |
#> |.....................|   -0.9536 |   -0.2361 |    0.2286 |    0.5392 |
#> |    U|     116.72368 |    0.4634 |    0.9886 |     3.460 |    0.6942 |
#> |.....................|   0.04638 |     1.256 |     1.953 |     2.682 |
#> |    X|     116.72368 |     1.590 |     2.687 |     31.82 |    0.6942 |
#> |.....................|     1.047 |     1.256 |     1.953 |     2.682 |
#> |    F| Forward Diff. |  -0.02452 |  -0.04193 |    0.5323 |  0.002363 |
#> |.....................|  0.006842 |   0.03303 |  -0.07886 |  -0.01622 |
#> |   18|     116.72355 |   -0.7254 |   -0.4282 |     1.009 |   -0.6104 |
#> |.....................|   -0.9540 |   -0.2362 |    0.2296 |    0.5391 |
#> |    U|     116.72355 |    0.4638 |    0.9892 |     3.459 |    0.6943 |
#> |.....................|   0.04596 |     1.256 |     1.954 |     2.682 |
#> |    X|     116.72355 |     1.590 |     2.689 |     31.80 |    0.6943 |
#> |.....................|     1.047 |     1.256 |     1.954 |     2.682 |
#> |    C| Central Diff. |  0.001732 |-0.0002288 |   -0.3494 |  0.005897 |
#> |.....................|  -0.05803 |   -0.1201 |  0.008323 |  -0.03459 |
#> |   19|     116.72355 |   -0.7254 |   -0.4282 |     1.009 |   -0.6104 |
#> |.....................|   -0.9540 |   -0.2362 |    0.2296 |    0.5391 |
#> |    U|     116.72355 |    0.4638 |    0.9892 |     3.459 |    0.6943 |
#> |.....................|   0.04596 |     1.256 |     1.954 |     2.682 |
#> |    X|     116.72355 |     1.590 |     2.689 |     31.80 |    0.6943 |
#> |.....................|     1.047 |     1.256 |     1.954 |     2.682 |
#> calculating covariance matrix
#> done
#> Calculating residuals/tables
#> done
#> 
#> ── objf value did not improve, exiting the search ... ──────────────────────────
#> 
#> ── forward search complete ──
#> 
#> ── starting backward search... ─────────────────────────────────────────────────
#> ! no covariates added in the forward search, skipping backward search
#> 
#> ── starting forward search... ──────────────────────────────────────────────────
#>  added centered_WT*cov_WT_ka to ka's equation in the model
#>  updated value: ka<-exp(tka+centered_WT*cov_WT_ka+eta.ka)
#> Key: U: Unscaled Parameters; X: Back-transformed parameters; G: Gill difference gradient approximation
#> F: Forward difference gradient approximation
#> C: Central difference gradient approximation
#> M: Mixed forward and central difference gradient approximation
#> Unscaled parameters for Omegas=chol(solve(omega));
#> Diagonals are transformed, as specified by foceiControl(diagXform=)
#> |-----+---------------+-----------+-----------+-----------+-----------|
#> |    #| Objective Fun |       tka |       tcl |        tv |    add.sd |
#> |.....................|centered_WT | cov_WT_ka |        o1 |        o2 |
#> |.....................|        o3 |...........|...........|...........|
#> |    1|     133.57512 |   -0.7391 |   -0.4242 |     1.000 |   -0.5942 |
#> |.....................|   -0.4203 |    -1.000 |   -0.3413 |   -0.2167 |
#> |.....................|   0.03089 |...........|...........|...........|
#> |    U|     133.57512 |    0.4500 |    0.9933 |     3.450 |    0.7000 |
#> |.....................|     1.000 |     0.000 |     1.136 |     1.351 |
#> |.....................|     1.778 |...........|...........|...........|
#> |    X|     133.57512 |     1.568 |     2.700 |     31.50 |    0.7000 |
#> |.....................|     2.718 |     1.000 |     1.136 |     1.351 |
#> |.....................|     1.778 |...........|...........|...........|
#> |    G|    Gill Diff. |   -0.9310 |    -1.614 |    -3.052 |     1.592 |
#> |.....................| -0.001647 |   -0.9310 |    -11.76 |    -35.33 |
#> |.....................|    -34.78 |...........|...........|...........|
#> |    2|     122.55889 |   -0.7209 |   -0.3926 |     1.060 |   -0.6253 |
#> |.....................|   -0.4201 |   -0.9818 |   -0.1113 |    0.4746 |
#> |.....................|    0.7113 |...........|...........|...........|
#> |    U|     122.55889 |    0.4682 |     1.025 |     3.510 |    0.6891 |
#> |.....................|     1.000 |   0.01821 |     1.398 |     2.285 |
#> |.....................|     2.988 |...........|...........|...........|
#> |    X|     122.55889 |     1.597 |     2.787 |     33.44 |    0.6891 |
#> |.....................|     2.719 |     1.018 |     1.398 |     2.285 |
#> |.....................|     2.988 |...........|...........|...........|
#> |    F| Forward Diff. |    0.5842 |     14.90 |     69.23 |    -4.996 |
#> |.....................|   0.01727 |    0.5844 |     14.13 |     16.72 |
#> |.....................|     13.88 |...........|...........|...........|
#> |    3|     689.72878 |   -0.7198 |   -0.5885 |    0.1044 |   -0.5704 |
#> |.....................|   -0.4204 |   -0.9806 |   -0.1929 |    0.5964 |
#> |.....................|    0.8680 |...........|...........|...........|
#> |    U|     689.72878 |    0.4694 |    0.8290 |     2.554 |    0.7083 |
#> |.....................|    0.9999 |   0.01938 |     1.305 |     2.450 |
#> |.....................|     3.267 |...........|...........|...........|
#> |    X|     689.72878 |     1.599 |     2.291 |     12.86 |    0.7083 |
#> |.....................|     2.718 |     1.020 |     1.305 |     2.450 |
#> |.....................|     3.267 |...........|...........|...........|
#> |    4|     121.05405 |   -0.7217 |   -0.4123 |    0.9681 |   -0.6187 |
#> |.....................|   -0.4202 |   -0.9826 |   -0.1300 |    0.4525 |
#> |.....................|    0.6930 |...........|...........|...........|
#> |    U|     121.05405 |    0.4674 |     1.005 |     3.418 |    0.6914 |
#> |.....................|     1.000 |   0.01744 |     1.376 |     2.255 |
#> |.....................|     2.956 |...........|...........|...........|
#> |    X|     121.05405 |     1.596 |     2.732 |     30.51 |    0.6914 |
#> |.....................|     2.719 |     1.018 |     1.376 |     2.255 |
#> |.....................|     2.956 |...........|...........|...........|
#> |    F| Forward Diff. |     3.821 |    -6.971 |    -53.82 |    -3.083 |
#> |.....................|   0.06897 |     3.822 |     13.14 |     15.42 |
#> |.....................|     9.541 |...........|...........|...........|
#> |    5|     118.41289 |   -0.7303 |   -0.4110 |     1.020 |   -0.6078 |
#> |.....................|   -0.4203 |   -0.9912 |   -0.1727 |    0.3944 |
#> |.....................|    0.6495 |...........|...........|...........|
#> |    U|     118.41289 |    0.4588 |     1.006 |     3.470 |    0.6952 |
#> |.....................|     1.000 |  0.008846 |     1.328 |     2.177 |
#> |.....................|     2.878 |...........|...........|...........|
#> |    X|     118.41289 |     1.582 |     2.736 |     32.12 |    0.6952 |
#> |.....................|     2.718 |     1.009 |     1.328 |     2.177 |
#> |.....................|     2.878 |...........|...........|...........|
#> |    F| Forward Diff. |    0.2151 |   -0.3112 |     11.81 |    -1.196 |
#> |.....................|-0.0003315 |    0.2151 |     7.238 |     11.30 |
#> |.....................|     6.771 |...........|...........|...........|
#> |    6|     117.94241 |   -0.7313 |   -0.4032 |    0.9751 |   -0.6027 |
#> |.....................|   -0.4203 |   -0.9921 |   -0.2119 |    0.3265 |
#> |.....................|    0.6073 |...........|...........|...........|
#> |    U|     117.94241 |    0.4579 |     1.014 |     3.425 |    0.6970 |
#> |.....................|     1.000 |  0.007858 |     1.283 |     2.085 |
#> |.....................|     2.803 |...........|...........|...........|
#> |    X|     117.94241 |     1.581 |     2.757 |     30.73 |    0.6970 |
#> |.....................|     2.718 |     1.008 |     1.283 |     2.085 |
#> |.....................|     2.803 |...........|...........|...........|
#> |    F| Forward Diff. |     1.223 |    -1.769 |    -36.73 |    0.1954 |
#> |.....................|   0.01026 |     1.223 |     3.109 |     7.198 |
#> |.....................|     4.240 |...........|...........|...........|
#> |    7|     117.29163 |   -0.7147 |   -0.4120 |     1.035 |   -0.6315 |
#> |.....................|   -0.4197 |   -0.9756 |   -0.2241 |    0.1684 |
#> |.....................|    0.5083 |...........|...........|...........|
#> |    U|     117.29163 |    0.4744 |     1.005 |     3.485 |    0.6869 |
#> |.....................|     1.001 |   0.02440 |     1.269 |     1.872 |
#> |.....................|     2.627 |...........|...........|...........|
#> |    X|     117.29163 |     1.607 |     2.733 |     32.63 |    0.6869 |
#> |.....................|     2.720 |     1.025 |     1.269 |     1.872 |
#> |.....................|     2.627 |...........|...........|...........|
#> |    F| Forward Diff. |     1.446 |   -0.4010 |     21.43 |    -2.418 |
#> |.....................|   0.03203 |     1.446 |     1.709 |    -4.312 |
#> |.....................|    -1.103 |...........|...........|...........|
#> |    8|     118.34539 |   -0.8022 |   -0.3566 |     1.017 |   -0.5463 |
#> |.....................|   -0.4211 |    -1.063 |   -0.3198 |    0.2335 |
#> |.....................|    0.4827 |...........|...........|...........|
#> |    U|     118.34539 |    0.3869 |     1.061 |     3.467 |    0.7168 |
#> |.....................|    0.9992 |  -0.06309 |     1.161 |     1.959 |
#> |.....................|     2.582 |...........|...........|...........|
#> |    X|     118.34539 |     1.472 |     2.889 |     32.05 |    0.7168 |
#> |.....................|     2.716 |    0.9389 |     1.161 |     1.959 |
#> |.....................|     2.582 |...........|...........|...........|
#> |    9|     116.92750 |   -0.7336 |   -0.4007 |     1.004 |   -0.6118 |
#> |.....................|   -0.4200 |   -0.9945 |   -0.2449 |    0.1867 |
#> |.....................|    0.5048 |...........|...........|...........|
#> |    U|      116.9275 |    0.4555 |     1.017 |     3.454 |    0.6938 |
#> |.....................|     1.000 |  0.005504 |     1.246 |     1.896 |
#> |.....................|     2.621 |...........|...........|...........|
#> |    X|      116.9275 |     1.577 |     2.764 |     31.62 |    0.6938 |
#> |.....................|     2.719 |     1.006 |     1.246 |     1.896 |
#> |.....................|     2.621 |...........|...........|...........|
#> |    F| Forward Diff. |  -0.05021 |    0.8465 |    -5.302 |   0.06758 |
#> |.....................| 0.0005881 |  -0.05018 |   -0.8447 |    -2.947 |
#> |.....................|    -2.208 |...........|...........|...........|
#> |   10|     116.97980 |   -0.7359 |   -0.4236 |     1.017 |   -0.5998 |
#> |.....................|   -0.4201 |   -0.9968 |   -0.2743 |    0.2105 |
#> |.....................|    0.5318 |...........|...........|...........|
#> |    U|      116.9798 |    0.4532 |    0.9939 |     3.467 |    0.6980 |
#> |.....................|     1.000 |  0.003187 |     1.212 |     1.928 |
#> |.....................|     2.669 |...........|...........|...........|
#> |    X|      116.9798 |     1.573 |     2.702 |     32.04 |    0.6980 |
#> |.....................|     2.719 |     1.003 |     1.212 |     1.928 |
#> |.....................|     2.669 |...........|...........|...........|
#> |   11|     116.88481 |   -0.7341 |   -0.4079 |     1.016 |   -0.6088 |
#> |.....................|   -0.4200 |   -0.9950 |   -0.2511 |    0.1975 |
#> |.....................|    0.5152 |...........|...........|...........|
#> |    U|     116.88481 |    0.4550 |     1.010 |     3.466 |    0.6949 |
#> |.....................|     1.000 |  0.004992 |     1.239 |     1.911 |
#> |.....................|     2.640 |...........|...........|...........|
#> |    X|     116.88481 |     1.576 |     2.744 |     31.99 |    0.6949 |
#> |.....................|     2.719 |     1.005 |     1.239 |     1.911 |
#> |.....................|     2.640 |...........|...........|...........|
#> |    F| Forward Diff. |   -0.3847 |   -0.4337 |     5.029 |    0.2777 |
#> |.....................| -0.003050 |   -0.3847 |    -1.799 |    -2.259 |
#> |.....................|    -1.363 |...........|...........|...........|
#> |   12|     116.84034 |   -0.7267 |   -0.4050 |     1.007 |   -0.6133 |
#> |.....................|   -0.4199 |   -0.9876 |   -0.2423 |    0.2040 |
#> |.....................|    0.5266 |...........|...........|...........|
#> |    U|     116.84034 |    0.4624 |     1.012 |     3.457 |    0.6933 |
#> |.....................|     1.000 |   0.01240 |     1.249 |     1.920 |
#> |.....................|     2.660 |...........|...........|...........|
#> |    X|     116.84034 |     1.588 |     2.752 |     31.71 |    0.6933 |
#> |.....................|     2.719 |     1.012 |     1.249 |     1.920 |
#> |.....................|     2.660 |...........|...........|...........|
#> |    F| Forward Diff. |    0.6410 |  -0.07486 |    -3.047 |   -0.2440 |
#> |.....................|  0.007822 |    0.6412 |   -0.6095 |    -1.614 |
#> |.....................|   -0.9651 |...........|...........|...........|
#> |   13|     116.84764 |   -0.7345 |   -0.3949 |     1.014 |   -0.6124 |
#> |.....................|   -0.4200 |   -0.9953 |   -0.2306 |    0.2089 |
#> |.....................|    0.5316 |...........|...........|...........|
#> |    U|     116.84764 |    0.4547 |     1.023 |     3.464 |    0.6936 |
#> |.....................|     1.000 |  0.004678 |     1.262 |     1.926 |
#> |.....................|     2.669 |...........|...........|...........|
#> |    X|     116.84764 |     1.576 |     2.780 |     31.95 |    0.6936 |
#> |.....................|     2.719 |     1.005 |     1.262 |     1.926 |
#> |.....................|     2.669 |...........|...........|...........|
#> |   14|     116.83274 |   -0.7284 |   -0.4047 |     1.014 |   -0.6127 |
#> |.....................|   -0.4200 |   -0.9893 |   -0.2406 |    0.2081 |
#> |.....................|    0.5290 |...........|...........|...........|
#> |    U|     116.83274 |    0.4607 |     1.013 |     3.464 |    0.6935 |
#> |.....................|     1.000 |   0.01068 |     1.251 |     1.925 |
#> |.....................|     2.664 |...........|...........|...........|
#> |    X|     116.83274 |     1.585 |     2.753 |     31.95 |    0.6935 |
#> |.....................|     2.719 |     1.011 |     1.251 |     1.925 |
#> |.....................|     2.664 |...........|...........|...........|
#> |    F| Forward Diff. |    0.3015 |    0.4698 |     4.103 |   -0.2127 |
#> |.....................|  0.003996 |    0.3015 |   -0.4491 |    -1.365 |
#> |.....................|   -0.6394 |...........|...........|...........|
#> |   15|     116.81885 |   -0.7328 |   -0.4065 |     1.009 |   -0.6116 |
#> |.....................|   -0.4200 |   -0.9937 |   -0.2380 |    0.2103 |
#> |.....................|    0.5305 |...........|...........|...........|
#> |    U|     116.81885 |    0.4563 |     1.011 |     3.459 |    0.6939 |
#> |.....................|     1.000 |  0.006308 |     1.254 |     1.928 |
#> |.....................|     2.667 |...........|...........|...........|
#> |    X|     116.81885 |     1.578 |     2.748 |     31.77 |    0.6939 |
#> |.....................|     2.719 |     1.006 |     1.254 |     1.928 |
#> |.....................|     2.667 |...........|...........|...........|
#> |    F| Forward Diff. |  -0.04907 |   -0.4074 |    -1.148 |   -0.1127 |
#> |.....................|  0.002382 |  -0.04901 |   -0.1359 |    -1.150 |
#> |.....................|   -0.7174 |...........|...........|...........|
#> |   16|     116.81494 |   -0.7324 |   -0.4003 |     1.011 |   -0.6100 |
#> |.....................|   -0.4200 |   -0.9933 |   -0.2399 |    0.2155 |
#> |.....................|    0.5342 |...........|...........|...........|
#> |    U|     116.81494 |    0.4567 |     1.017 |     3.461 |    0.6945 |
#> |.....................|     1.000 |  0.006710 |     1.251 |     1.935 |
#> |.....................|     2.673 |...........|...........|...........|
#> |    X|     116.81494 |     1.579 |     2.765 |     31.84 |    0.6945 |
#> |.....................|     2.719 |     1.007 |     1.251 |     1.935 |
#> |.....................|     2.673 |...........|...........|...........|
#> |    F| Forward Diff. |  -0.02679 |     1.498 |     1.298 |   -0.1248 |
#> |.....................|-0.0006497 |  -0.02661 |   -0.4180 |   -0.8090 |
#> |.....................|   -0.4656 |...........|...........|...........|
#> |   17|     116.80810 |   -0.7314 |   -0.4075 |     1.009 |   -0.6077 |
#> |.....................|   -0.4200 |   -0.9923 |   -0.2402 |    0.2202 |
#> |.....................|    0.5369 |...........|...........|...........|
#> |    U|      116.8081 |    0.4577 |     1.010 |     3.459 |    0.6953 |
#> |.....................|     1.000 |  0.007690 |     1.251 |     1.941 |
#> |.....................|     2.678 |...........|...........|...........|
#> |    X|      116.8081 |     1.580 |     2.746 |     31.80 |    0.6953 |
#> |.....................|     2.719 |     1.008 |     1.251 |     1.941 |
#> |.....................|     2.678 |...........|...........|...........|
#> |    F| Forward Diff. |   0.07807 |   -0.6107 |   -0.4550 |    0.2729 |
#> |.....................|  0.002613 |   0.07809 |   -0.5109 |   -0.4454 |
#> |.....................|   -0.3016 |...........|...........|...........|
#> |   18|     116.80740 |   -0.7334 |   -0.4057 |     1.012 |   -0.6120 |
#> |.....................|   -0.4201 |   -0.9943 |   -0.2334 |    0.2224 |
#> |.....................|    0.5387 |...........|...........|...........|
#> |    U|      116.8074 |    0.4557 |     1.012 |     3.462 |    0.6938 |
#> |.....................|     1.000 |  0.005737 |     1.259 |     1.945 |
#> |.....................|     2.681 |...........|...........|...........|
#> |    X|      116.8074 |     1.577 |     2.750 |     31.87 |    0.6938 |
#> |.....................|     2.719 |     1.006 |     1.259 |     1.945 |
#> |.....................|     2.681 |...........|...........|...........|
#> |    F| Forward Diff. |   -0.1652 |   0.02377 |     2.034 |   -0.2992 |
#> |.....................| -0.003368 |   -0.1652 |    0.3570 |   -0.2818 |
#> |.....................|   -0.1687 |...........|...........|...........|
#> |   19|     116.82027 |   -0.7323 |   -0.4014 |     1.005 |   -0.6144 |
#> |.....................|   -0.4201 |   -0.9931 |   -0.2304 |    0.2225 |
#> |.....................|    0.5408 |...........|...........|...........|
#> |    U|     116.82027 |    0.4569 |     1.016 |     3.455 |    0.6929 |
#> |.....................|     1.000 |  0.006852 |     1.262 |     1.945 |
#> |.....................|     2.685 |...........|...........|...........|
#> |    X|     116.82027 |     1.579 |     2.762 |     31.65 |    0.6929 |
#> |.....................|     2.719 |     1.007 |     1.262 |     1.945 |
#> |.....................|     2.685 |...........|...........|...........|
#> |   20|     116.80509 |   -0.7332 |   -0.4058 |     1.010 |   -0.6117 |
#> |.....................|   -0.4201 |   -0.9941 |   -0.2338 |    0.2227 |
#> |.....................|    0.5389 |...........|...........|...........|
#> |    U|     116.80509 |    0.4559 |     1.012 |     3.460 |    0.6939 |
#> |.....................|     1.000 |  0.005925 |     1.258 |     1.945 |
#> |.....................|     2.682 |...........|...........|...........|
#> |    X|     116.80509 |     1.578 |     2.750 |     31.80 |    0.6939 |
#> |.....................|     2.719 |     1.006 |     1.258 |     1.945 |
#> |.....................|     2.682 |...........|...........|...........|
#> |    F| Forward Diff. |  -0.09280 |   -0.1222 |   -0.1587 |   -0.1406 |
#> |.....................| -0.001174 |  -0.09279 |    0.3265 |   -0.2744 |
#> |.....................|   -0.2144 |...........|...........|...........|
#> |   21|     116.80416 |   -0.7328 |   -0.4052 |     1.010 |   -0.6110 |
#> |.....................|   -0.4201 |   -0.9937 |   -0.2352 |    0.2239 |
#> |.....................|    0.5398 |...........|...........|...........|
#> |    U|     116.80416 |    0.4563 |     1.012 |     3.460 |    0.6941 |
#> |.....................|     1.000 |  0.006330 |     1.257 |     1.947 |
#> |.....................|     2.683 |...........|...........|...........|
#> |    X|     116.80416 |     1.578 |     2.752 |     31.82 |    0.6941 |
#> |.....................|     2.719 |     1.006 |     1.257 |     1.947 |
#> |.....................|     2.683 |...........|...........|...........|
#> |    F| Forward Diff. |  -0.06394 |   0.07976 |    0.5298 |   -0.1779 |
#> |.....................| -0.001902 |  -0.06388 |    0.1448 |   -0.1639 |
#> |.....................|   -0.1393 |...........|...........|...........|
#> |   22|     116.80468 |   -0.7320 |   -0.4063 |     1.009 |   -0.6076 |
#> |.....................|   -0.4200 |   -0.9929 |   -0.2368 |    0.2235 |
#> |.....................|    0.5419 |...........|...........|...........|
#> |    U|     116.80468 |    0.4571 |     1.011 |     3.459 |    0.6953 |
#> |.....................|     1.000 |  0.007097 |     1.255 |     1.946 |
#> |.....................|     2.687 |...........|...........|...........|
#> |    X|     116.80468 |     1.579 |     2.749 |     31.78 |    0.6953 |
#> |.....................|     2.719 |     1.007 |     1.255 |     1.946 |
#> |.....................|     2.687 |...........|...........|...........|
#> |   23|     116.80437 |   -0.7326 |   -0.4055 |     1.009 |   -0.6104 |
#> |.....................|   -0.4201 |   -0.9935 |   -0.2357 |    0.2243 |
#> |.....................|    0.5403 |...........|...........|...........|
#> |    U|     116.80437 |    0.4566 |     1.012 |     3.459 |    0.6943 |
#> |.....................|     1.000 |  0.006549 |     1.256 |     1.947 |
#> |.....................|     2.684 |...........|...........|...........|
#> |    X|     116.80437 |     1.579 |     2.751 |     31.78 |    0.6943 |
#> |.....................|     2.719 |     1.007 |     1.256 |     1.947 |
#> |.....................|     2.684 |...........|...........|...........|
#> |   24|     116.80398 |   -0.7327 |   -0.4053 |     1.010 |   -0.6108 |
#> |.....................|   -0.4201 |   -0.9936 |   -0.2354 |    0.2241 |
#> |.....................|    0.5400 |...........|...........|...........|
#> |    U|     116.80398 |    0.4564 |     1.012 |     3.460 |    0.6942 |
#> |.....................|     1.000 |  0.006412 |     1.257 |     1.947 |
#> |.....................|     2.684 |...........|...........|...........|
#> |    X|     116.80398 |     1.578 |     2.751 |     31.80 |    0.6942 |
#> |.....................|     2.719 |     1.006 |     1.257 |     1.947 |
#> |.....................|     2.684 |...........|...........|...........|
#> |    F| Forward Diff. |  -0.03953 |  0.009959 |   -0.1247 | -0.002894 |
#> |.....................| 0.0002904 |  -0.03957 |    0.1286 |   -0.1449 |
#> |.....................|   -0.1445 |...........|...........|...........|
#> |   25|     116.80378 |   -0.7326 |   -0.4054 |     1.010 |   -0.6108 |
#> |.....................|   -0.4201 |   -0.9935 |   -0.2357 |    0.2246 |
#> |.....................|    0.5404 |...........|...........|...........|
#> |    U|     116.80378 |    0.4565 |     1.012 |     3.460 |    0.6942 |
#> |.....................|     1.000 |  0.006528 |     1.256 |     1.947 |
#> |.....................|     2.684 |...........|...........|...........|
#> |    X|     116.80378 |     1.579 |     2.751 |     31.81 |    0.6942 |
#> |.....................|     2.719 |     1.007 |     1.256 |     1.947 |
#> |.....................|     2.684 |...........|...........|...........|
#> |    C| Central Diff. |  -0.04893 |  -0.01282 |    0.1158 |  -0.09120 |
#> |.....................|   0.03582 |  -0.04893 |  -0.02396 |  -0.08591 |
#> |.....................|   -0.1007 |...........|...........|...........|
#> |   26|     116.80378 |   -0.7326 |   -0.4054 |     1.010 |   -0.6108 |
#> |.....................|   -0.4201 |   -0.9935 |   -0.2357 |    0.2246 |
#> |.....................|    0.5404 |...........|...........|...........|
#> |    U|     116.80378 |    0.4565 |     1.012 |     3.460 |    0.6942 |
#> |.....................|     1.000 |  0.006528 |     1.256 |     1.947 |
#> |.....................|     2.684 |...........|...........|...........|
#> |    X|     116.80378 |     1.579 |     2.751 |     31.81 |    0.6942 |
#> |.....................|     2.719 |     1.007 |     1.256 |     1.947 |
#> |.....................|     2.684 |...........|...........|...........|
#> calculating covariance matrix
#> done
#> Calculating residuals/tables
#> done
#>  added centered_WT*cov_WT_cl to cl's equation in the model
#>  updated value: cl<-exp(tcl+centered_WT*cov_WT_cl+eta.cl)
#> Key: U: Unscaled Parameters; X: Back-transformed parameters; G: Gill difference gradient approximation
#> F: Forward difference gradient approximation
#> C: Central difference gradient approximation
#> M: Mixed forward and central difference gradient approximation
#> Unscaled parameters for Omegas=chol(solve(omega));
#> Diagonals are transformed, as specified by foceiControl(diagXform=)
#> |-----+---------------+-----------+-----------+-----------+-----------|
#> |    #| Objective Fun |       tka |       tcl |        tv |    add.sd |
#> |.....................|centered_WT | cov_WT_cl |        o1 |        o2 |
#> |.....................|        o3 |...........|...........|...........|
#> |    1|     133.57512 |   -0.7391 |   -0.4242 |     1.000 |   -0.5942 |
#> |.....................|   -0.4203 |    -1.000 |   -0.3413 |   -0.2167 |
#> |.....................|   0.03089 |...........|...........|...........|
#> |    U|     133.57512 |    0.4500 |    0.9933 |     3.450 |    0.7000 |
#> |.....................|     1.000 |     0.000 |     1.136 |     1.351 |
#> |.....................|     1.778 |...........|...........|...........|
#> |    X|     133.57512 |     1.568 |     2.700 |     31.50 |    0.7000 |
#> |.....................|     2.718 |     1.000 |     1.136 |     1.351 |
#> |.....................|     1.778 |...........|...........|...........|
#> |    G|    Gill Diff. |   -0.9310 |    -1.614 |    -3.052 |     1.570 |
#> |.....................| -0.001599 |    -1.614 |    -11.76 |    -35.33 |
#> |.....................|    -34.78 |...........|...........|...........|
#> |    2|     123.25594 |   -0.7209 |   -0.3926 |     1.060 |   -0.6249 |
#> |.....................|   -0.4201 |   -0.9684 |   -0.1114 |    0.4744 |
#> |.....................|    0.7111 |...........|...........|...........|
#> |    U|     123.25594 |    0.4682 |     1.025 |     3.510 |    0.6893 |
#> |.....................|     1.000 |   0.03157 |     1.397 |     2.285 |
#> |.....................|     2.988 |...........|...........|...........|
#> |    X|     123.25594 |     1.597 |     2.787 |     33.44 |    0.6893 |
#> |.....................|     2.719 |     1.032 |     1.397 |     2.285 |
#> |.....................|     2.988 |...........|...........|...........|
#> |    F| Forward Diff. |   -0.5872 |     30.12 |     74.11 |    -5.073 |
#> |.....................|    0.5694 |     29.88 |     14.09 |     18.27 |
#> |.....................|     14.13 |...........|...........|...........|
#> |    3|     859.71975 |   -0.7038 |   -0.7274 |    0.2260 |   -0.5829 |
#> |.....................|   -0.4268 |    -1.300 |   -0.1464 |    0.6512 |
#> |.....................|    0.9304 |...........|...........|...........|
#> |    U|     859.71975 |    0.4854 |    0.6901 |     2.676 |    0.7040 |
#> |.....................|    0.9935 |   -0.3003 |     1.358 |     2.524 |
#> |.....................|     3.378 |...........|...........|...........|
#> |    X|     859.71975 |     1.625 |     1.994 |     14.53 |    0.7040 |
#> |.....................|     2.701 |    0.7406 |     1.358 |     2.524 |
#> |.....................|     3.378 |...........|...........|...........|
#> |    4|     120.81286 |   -0.7203 |   -0.4262 |    0.9771 |   -0.6193 |
#> |.....................|   -0.4208 |    -1.002 |   -0.1271 |    0.4540 |
#> |.....................|    0.6954 |...........|...........|...........|
#> |    U|     120.81286 |    0.4689 |    0.9913 |     3.427 |    0.6912 |
#> |.....................|    0.9995 | -0.001724 |     1.380 |     2.257 |
#> |.....................|     2.960 |...........|...........|...........|
#> |    X|     120.81286 |     1.598 |     2.695 |     30.79 |    0.6912 |
#> |.....................|     2.717 |    0.9983 |     1.380 |     2.257 |
#> |.....................|     2.960 |...........|...........|...........|
#> |    F| Forward Diff. |     2.087 |    -13.35 |    -43.90 |    -3.248 |
#> |.....................|   -0.1126 |    -13.59 |     13.08 |     15.60 |
#> |.....................|     9.253 |...........|...........|...........|
#> |    5|     118.45659 |   -0.7247 |   -0.4172 |     1.022 |   -0.6088 |
#> |.....................|   -0.4209 |   -0.9921 |   -0.1685 |    0.3922 |
#> |.....................|    0.6493 |...........|...........|...........|
#> |    U|     118.45659 |    0.4644 |     1.000 |     3.472 |    0.6949 |
#> |.....................|    0.9994 |  0.007890 |     1.333 |     2.174 |
#> |.....................|     2.878 |...........|...........|...........|
#> |    X|     118.45659 |     1.591 |     2.719 |     32.21 |    0.6949 |
#> |.....................|     2.717 |     1.008 |     1.333 |     2.174 |
#> |.....................|     2.878 |...........|...........|...........|
#> |    F| Forward Diff. |  -0.06977 |    0.6254 |     15.33 |    -1.258 |
#> |.....................|    -1.329 |    0.6349 |     7.695 |     11.18 |
#> |.....................|     6.865 |...........|...........|...........|
#> |    6|     118.04847 |   -0.7248 |   -0.4067 |    0.9734 |   -0.6043 |
#> |.....................|   -0.4134 |   -0.9818 |   -0.2063 |    0.3286 |
#> |.....................|    0.6065 |...........|...........|...........|
#> |    U|     118.04847 |    0.4643 |     1.011 |     3.423 |    0.6965 |
#> |.....................|     1.007 |   0.01821 |     1.290 |     2.088 |
#> |.....................|     2.802 |...........|...........|...........|
#> |    X|     118.04847 |     1.591 |     2.748 |     30.67 |    0.6965 |
#> |.....................|     2.737 |     1.018 |     1.290 |     2.088 |
#> |.....................|     2.802 |...........|...........|...........|
#> |    F| Forward Diff. |     1.320 |     3.525 |    -37.31 |  -0.09968 |
#> |.....................|   0.06591 |     3.550 |     3.801 |     7.437 |
#> |.....................|     4.130 |...........|...........|...........|
#> |    7|     117.28912 |   -0.7264 |   -0.4381 |     1.023 |   -0.6098 |
#> |.....................|   -0.4059 |    -1.014 |   -0.2257 |    0.2692 |
#> |.....................|    0.5673 |...........|...........|...........|
#> |    U|     117.28912 |    0.4627 |    0.9793 |     3.473 |    0.6946 |
#> |.....................|     1.014 |  -0.01430 |     1.268 |     2.008 |
#> |.....................|     2.732 |...........|...........|...........|
#> |    X|     117.28912 |     1.588 |     2.663 |     32.22 |    0.6946 |
#> |.....................|     2.758 |    0.9858 |     1.268 |     2.008 |
#> |.....................|     2.732 |...........|...........|...........|
#> |    F| Forward Diff. |   -0.5880 |    -14.09 |     9.927 |   -0.4074 |
#> |.....................|   -0.8878 |    -14.29 |     1.126 |     3.439 |
#> |.....................|     2.081 |...........|...........|...........|
#> |    8|     118.03314 |   -0.7224 |   -0.3748 |     1.026 |   -0.6174 |
#> |.....................|   -0.3986 |   -0.9502 |   -0.2151 |    0.2361 |
#> |.....................|    0.5443 |...........|...........|...........|
#> |    U|     118.03314 |    0.4667 |     1.043 |     3.476 |    0.6919 |
#> |.....................|     1.022 |   0.04983 |     1.280 |     1.963 |
#> |.....................|     2.691 |...........|...........|...........|
#> |    X|     118.03314 |     1.595 |     2.837 |     32.32 |    0.6919 |
#> |.....................|     2.778 |     1.051 |     1.280 |     1.963 |
#> |.....................|     2.691 |...........|...........|...........|
#> |    9|     116.87496 |   -0.7255 |   -0.4158 |     1.007 |   -0.6091 |
#> |.....................|   -0.4045 |   -0.9917 |   -0.2274 |    0.2638 |
#> |.....................|    0.5640 |...........|...........|...........|
#> |    U|     116.87496 |    0.4637 |     1.002 |     3.457 |    0.6948 |
#> |.....................|     1.016 |  0.008338 |     1.266 |     2.000 |
#> |.....................|     2.726 |...........|...........|...........|
#> |    X|     116.87496 |     1.590 |     2.723 |     31.72 |    0.6948 |
#> |.....................|     2.761 |     1.008 |     1.266 |     2.000 |
#> |.....................|     2.726 |...........|...........|...........|
#> |    F| Forward Diff. |   0.09679 |   -0.6559 |    -2.632 |   -0.1556 |
#> |.....................|    -1.067 |   -0.6654 |     1.003 |     2.666 |
#> |.....................|     1.317 |...........|...........|...........|
#> |   10|     117.02096 |   -0.7263 |   -0.4103 |     1.029 |   -0.6078 |
#> |.....................|   -0.3956 |   -0.9861 |   -0.2358 |    0.2416 |
#> |.....................|    0.5530 |...........|...........|...........|
#> |    U|     117.02096 |    0.4629 |     1.007 |     3.479 |    0.6952 |
#> |.....................|     1.025 |   0.01388 |     1.256 |     1.970 |
#> |.....................|     2.707 |...........|...........|...........|
#> |    X|     117.02096 |     1.589 |     2.738 |     32.42 |    0.6952 |
#> |.....................|     2.786 |     1.014 |     1.256 |     1.970 |
#> |.....................|     2.707 |...........|...........|...........|
#> |   11|     116.85652 |   -0.7257 |   -0.4144 |     1.013 |   -0.6088 |
#> |.....................|   -0.4022 |   -0.9902 |   -0.2296 |    0.2581 |
#> |.....................|    0.5611 |...........|...........|...........|
#> |    U|     116.85652 |    0.4635 |     1.003 |     3.463 |    0.6949 |
#> |.....................|     1.018 |  0.009772 |     1.263 |     1.993 |
#> |.....................|     2.721 |...........|...........|...........|
#> |    X|     116.85652 |     1.590 |     2.727 |     31.90 |    0.6949 |
#> |.....................|     2.768 |     1.010 |     1.263 |     1.993 |
#> |.....................|     2.721 |...........|...........|...........|
#> |    F| Forward Diff. |  -0.04465 |    0.6304 |     3.187 |  -0.08629 |
#> |.....................|    -1.060 |    0.6426 |    0.7000 |     2.223 |
#> |.....................|     1.243 |...........|...........|...........|
#> |   12|     116.84481 |   -0.7256 |   -0.4157 |     1.006 |   -0.6086 |
#> |.....................|   -0.3998 |   -0.9916 |   -0.2311 |    0.2531 |
#> |.....................|    0.5584 |...........|...........|...........|
#> |    U|     116.84481 |    0.4636 |     1.002 |     3.456 |    0.6950 |
#> |.....................|     1.020 |  0.008400 |     1.262 |     1.986 |
#> |.....................|     2.716 |...........|...........|...........|
#> |    X|     116.84481 |     1.590 |     2.723 |     31.69 |    0.6950 |
#> |.....................|     2.774 |     1.008 |     1.262 |     1.986 |
#> |.....................|     2.716 |...........|...........|...........|
#> |    F| Forward Diff. |   0.09903 |   -0.6932 |    -3.584 | 0.0004455 |
#> |.....................|    -1.063 |   -0.7063 |    0.5774 |     1.934 |
#> |.....................|    0.9261 |...........|...........|...........|
#> |   13|     116.81838 |   -0.7256 |   -0.4156 |     1.012 |   -0.6099 |
#> |.....................|   -0.3897 |   -0.9915 |   -0.2307 |    0.2405 |
#> |.....................|    0.5517 |...........|...........|...........|
#> |    U|     116.81838 |    0.4635 |     1.002 |     3.462 |    0.6945 |
#> |.....................|     1.031 |  0.008516 |     1.262 |     1.969 |
#> |.....................|     2.704 |...........|...........|...........|
#> |    X|     116.81838 |     1.590 |     2.723 |     31.90 |    0.6945 |
#> |.....................|     2.803 |     1.009 |     1.262 |     1.969 |
#> |.....................|     2.704 |...........|...........|...........|
#> |    F| Forward Diff. |  -0.05659 |   -0.1808 |     2.707 |   -0.2314 |
#> |.....................|    -1.038 |   -0.1848 |    0.6231 |    0.9959 |
#> |.....................|    0.6262 |...........|...........|...........|
#> |   14|     116.81246 |   -0.7255 |   -0.4158 |     1.007 |   -0.6076 |
#> |.....................|   -0.3733 |   -0.9917 |   -0.2349 |    0.2362 |
#> |.....................|    0.5488 |...........|...........|...........|
#> |    U|     116.81246 |    0.4636 |     1.002 |     3.457 |    0.6953 |
#> |.....................|     1.047 |  0.008310 |     1.257 |     1.963 |
#> |.....................|     2.699 |...........|...........|...........|
#> |    X|     116.81246 |     1.590 |     2.723 |     31.72 |    0.6953 |
#> |.....................|     2.849 |     1.008 |     1.257 |     1.963 |
#> |.....................|     2.699 |...........|...........|...........|
#> |    F| Forward Diff. |   0.06136 |   -0.6362 |    -2.602 |    0.1691 |
#> |.....................|   -0.9905 |   -0.6639 |    0.1831 |    0.7333 |
#> |.....................|    0.3536 |...........|...........|...........|
#> |   15|     116.80869 |   -0.7257 |   -0.4150 |     1.011 |   -0.6090 |
#> |.....................|   -0.3553 |   -0.9904 |   -0.2374 |    0.2368 |
#> |.....................|    0.5482 |...........|...........|...........|
#> |    U|     116.80869 |    0.4634 |     1.002 |     3.461 |    0.6948 |
#> |.....................|     1.065 |  0.009556 |     1.254 |     1.964 |
#> |.....................|     2.698 |...........|...........|...........|
#> |    X|     116.80869 |     1.589 |     2.725 |     31.84 |    0.6948 |
#> |.....................|     2.901 |     1.010 |     1.254 |     1.964 |
#> |.....................|     2.698 |...........|...........|...........|
#> |    F| Forward Diff. |  -0.03143 |    0.2889 |     1.081 |   0.01740 |
#> |.....................|   -0.9301 |    0.3109 |   -0.1921 |    0.7207 |
#> |.....................|    0.4036 |...........|...........|...........|
#> |   16|     116.80846 |   -0.7255 |   -0.4152 |     1.009 |   -0.6112 |
#> |.....................|   -0.3390 |   -0.9909 |   -0.2299 |    0.2334 |
#> |.....................|    0.5456 |...........|...........|...........|
#> |    U|     116.80846 |    0.4636 |     1.002 |     3.459 |    0.6940 |
#> |.....................|     1.081 |  0.009143 |     1.263 |     1.959 |
#> |.....................|     2.694 |...........|...........|...........|
#> |    X|     116.80846 |     1.590 |     2.724 |     31.77 |    0.6940 |
#> |.....................|     2.949 |     1.009 |     1.263 |     1.959 |
#> |.....................|     2.694 |...........|...........|...........|
#> |    F| Forward Diff. |   0.04672 | -0.004295 |    -1.030 |   -0.1291 |
#> |.....................|   -0.8715 |  0.002131 |    0.7617 |    0.5157 |
#> |.....................|    0.1823 |...........|...........|...........|
#> |   17|     116.80952 |   -0.7257 |   -0.4152 |     1.013 |   -0.6103 |
#> |.....................|   -0.3322 |   -0.9910 |   -0.2339 |    0.2311 |
#> |.....................|    0.5453 |...........|...........|...........|
#> |    U|     116.80952 |    0.4634 |     1.002 |     3.463 |    0.6944 |
#> |.....................|     1.088 |  0.008978 |     1.258 |     1.956 |
#> |.....................|     2.693 |...........|...........|...........|
#> |    X|     116.80952 |     1.590 |     2.725 |     31.91 |    0.6944 |
#> |.....................|     2.969 |     1.009 |     1.258 |     1.956 |
#> |.....................|     2.693 |...........|...........|...........|
#> |   18|     116.80694 |   -0.7256 |   -0.4152 |     1.011 |   -0.6109 |
#> |.....................|   -0.3367 |   -0.9909 |   -0.2319 |    0.2320 |
#> |.....................|    0.5451 |...........|...........|...........|
#> |    U|     116.80694 |    0.4635 |     1.002 |     3.461 |    0.6942 |
#> |.....................|     1.084 |  0.009137 |     1.261 |     1.957 |
#> |.....................|     2.693 |...........|...........|...........|
#> |    X|     116.80694 |     1.590 |     2.725 |     31.86 |    0.6942 |
#> |.....................|     2.955 |     1.009 |     1.261 |     1.957 |
#> |.....................|     2.693 |...........|...........|...........|
#> |    F| Forward Diff. |  -0.03028 |    0.1674 |     1.594 |   -0.2384 |
#> |.....................|   -0.8710 |    0.1889 |    0.4883 |    0.3857 |
#> |.....................|    0.2068 |...........|...........|...........|
#> |   19|     116.80579 |   -0.7256 |   -0.4155 |     1.008 |   -0.6103 |
#> |.....................|   -0.3338 |   -0.9913 |   -0.2332 |    0.2313 |
#> |.....................|    0.5449 |...........|...........|...........|
#> |    U|     116.80579 |    0.4636 |     1.002 |     3.458 |    0.6944 |
#> |.....................|     1.086 |  0.008740 |     1.259 |     1.957 |
#> |.....................|     2.692 |...........|...........|...........|
#> |    X|     116.80579 |     1.590 |     2.724 |     31.77 |    0.6944 |
#> |.....................|     2.964 |     1.009 |     1.259 |     1.957 |
#> |.....................|     2.692 |...........|...........|...........|
#> |    F| Forward Diff. |   0.03176 |   -0.2218 |    -1.148 |   -0.1288 |
#> |.....................|   -0.8610 |   -0.2335 |    0.4197 |    0.3759 |
#> |.....................|    0.1438 |...........|...........|...........|
#> |   20|     116.80490 |   -0.7256 |   -0.4151 |     1.011 |   -0.6087 |
#> |.....................|   -0.3259 |   -0.9910 |   -0.2354 |    0.2309 |
#> |.....................|    0.5456 |...........|...........|...........|
#> |    U|      116.8049 |    0.4635 |     1.002 |     3.461 |    0.6949 |
#> |.....................|     1.094 |  0.008995 |     1.257 |     1.956 |
#> |.....................|     2.694 |...........|...........|...........|
#> |    X|      116.8049 |     1.590 |     2.725 |     31.84 |    0.6949 |
#> |.....................|     2.987 |     1.009 |     1.257 |     1.956 |
#> |.....................|     2.694 |...........|...........|...........|
#> |    F| Forward Diff. |  -0.02228 |    0.1385 |     1.031 |  -0.08496 |
#> |.....................|   -0.8411 |    0.1610 |   0.06259 |    0.3195 |
#> |.....................|    0.2048 |...........|...........|...........|
#> |   21|     116.80671 |   -0.7256 |   -0.4150 |     1.008 |   -0.6061 |
#> |.....................|   -0.3089 |   -0.9917 |   -0.2369 |    0.2315 |
#> |.....................|    0.5471 |...........|...........|...........|
#> |    U|     116.80671 |    0.4635 |     1.002 |     3.458 |    0.6958 |
#> |.....................|     1.111 |  0.008260 |     1.255 |     1.957 |
#> |.....................|     2.696 |...........|...........|...........|
#> |    X|     116.80671 |     1.590 |     2.725 |     31.76 |    0.6958 |
#> |.....................|     3.038 |     1.008 |     1.255 |     1.957 |
#> |.....................|     2.696 |...........|...........|...........|
#> |   22|     116.80552 |   -0.7256 |   -0.4152 |     1.008 |   -0.6076 |
#> |.....................|   -0.3185 |   -0.9915 |   -0.2360 |    0.2307 |
#> |.....................|    0.5459 |...........|...........|...........|
#> |    U|     116.80552 |    0.4635 |     1.002 |     3.458 |    0.6953 |
#> |.....................|     1.102 |  0.008507 |     1.256 |     1.956 |
#> |.....................|     2.694 |...........|...........|...........|
#> |    X|     116.80552 |     1.590 |     2.724 |     31.77 |    0.6953 |
#> |.....................|     3.010 |     1.009 |     1.256 |     1.956 |
#> |.....................|     2.694 |...........|...........|...........|
#> |   23|     116.80513 |   -0.7256 |   -0.4153 |     1.008 |   -0.6083 |
#> |.....................|   -0.3231 |   -0.9914 |   -0.2356 |    0.2303 |
#> |.....................|    0.5453 |...........|...........|...........|
#> |    U|     116.80513 |    0.4636 |     1.002 |     3.458 |    0.6951 |
#> |.....................|     1.097 |  0.008626 |     1.256 |     1.955 |
#> |.....................|     2.693 |...........|...........|...........|
#> |    X|     116.80513 |     1.590 |     2.724 |     31.77 |    0.6951 |
#> |.....................|     2.996 |     1.009 |     1.256 |     1.955 |
#> |.....................|     2.693 |...........|...........|...........|
#> |   24|     116.80438 |   -0.7256 |   -0.4152 |     1.009 |   -0.6086 |
#> |.....................|   -0.3248 |   -0.9912 |   -0.2354 |    0.2305 |
#> |.....................|    0.5454 |...........|...........|...........|
#> |    U|     116.80438 |    0.4636 |     1.002 |     3.459 |    0.6950 |
#> |.....................|     1.095 |  0.008794 |     1.257 |     1.955 |
#> |.....................|     2.693 |...........|...........|...........|
#> |    X|     116.80438 |     1.590 |     2.724 |     31.80 |    0.6950 |
#> |.....................|     2.991 |     1.009 |     1.257 |     1.955 |
#> |.....................|     2.693 |...........|...........|...........|
#> |    F| Forward Diff. |  0.007505 |  -0.05573 |   -0.2366 |  0.004925 |
#> |.....................|   -0.8347 |  -0.05207 |   0.09580 |    0.3209 |
#> |.....................|    0.1753 |...........|...........|...........|
#> |   25|     116.80406 |   -0.7256 |   -0.4150 |     1.010 |   -0.6086 |
#> |.....................|   -0.3217 |   -0.9910 |   -0.2358 |    0.2293 |
#> |.....................|    0.5447 |...........|...........|...........|
#> |    U|     116.80406 |    0.4635 |     1.002 |     3.460 |    0.6950 |
#> |.....................|     1.099 |  0.008987 |     1.256 |     1.954 |
#> |.....................|     2.692 |...........|...........|...........|
#> |    X|     116.80406 |     1.590 |     2.725 |     31.83 |    0.6950 |
#> |.....................|     3.000 |     1.009 |     1.256 |     1.954 |
#> |.....................|     2.692 |...........|...........|...........|
#> |    F| Forward Diff. |  -0.01408 |    0.1254 |    0.6289 |   0.06360 |
#> |.....................|   -0.8281 |    0.1471 |   0.04100 |    0.2295 |
#> |.....................|    0.1640 |...........|...........|...........|
#> |   26|     116.80458 |   -0.7256 |   -0.4152 |     1.008 |   -0.6103 |
#> |.....................|   -0.3152 |   -0.9915 |   -0.2367 |    0.2289 |
#> |.....................|    0.5443 |...........|...........|...........|
#> |    U|     116.80458 |    0.4635 |     1.002 |     3.458 |    0.6944 |
#> |.....................|     1.105 |  0.008514 |     1.255 |     1.953 |
#> |.....................|     2.691 |...........|...........|...........|
#> |    X|     116.80458 |     1.590 |     2.724 |     31.77 |    0.6944 |
#> |.....................|     3.019 |     1.009 |     1.255 |     1.953 |
#> |.....................|     2.691 |...........|...........|...........|
#> |   27|     116.80462 |   -0.7256 |   -0.4154 |     1.008 |   -0.6088 |
#> |.....................|   -0.3192 |   -0.9915 |   -0.2359 |    0.2286 |
#> |.....................|    0.5442 |...........|...........|...........|
#> |    U|     116.80462 |    0.4636 |     1.002 |     3.458 |    0.6949 |
#> |.....................|     1.101 |  0.008548 |     1.256 |     1.953 |
#> |.....................|     2.691 |...........|...........|...........|
#> |    X|     116.80462 |     1.590 |     2.724 |     31.77 |    0.6949 |
#> |.....................|     3.007 |     1.009 |     1.256 |     1.953 |
#> |.....................|     2.691 |...........|...........|...........|
#> |   28|     116.80387 |   -0.7256 |   -0.4152 |     1.009 |   -0.6087 |
#> |.....................|   -0.3206 |   -0.9912 |   -0.2358 |    0.2290 |
#> |.....................|    0.5445 |...........|...........|...........|
#> |    U|     116.80387 |    0.4635 |     1.002 |     3.459 |    0.6949 |
#> |.....................|     1.100 |  0.008797 |     1.256 |     1.953 |
#> |.....................|     2.692 |...........|...........|...........|
#> |    X|     116.80387 |     1.590 |     2.724 |     31.80 |    0.6949 |
#> |.....................|     3.003 |     1.009 |     1.256 |     1.953 |
#> |.....................|     2.692 |...........|...........|...........|
#> |    F| Forward Diff. |  0.004171 |  -0.03095 |   -0.1730 |    0.1211 |
#> |.....................|   -0.8225 |  -0.02511 |   0.09302 |    0.2082 |
#> |.....................|    0.1327 |...........|...........|...........|
#> |   29|     116.80367 |   -0.7256 |   -0.4151 |     1.010 |   -0.6091 |
#> |.....................|   -0.3180 |   -0.9911 |   -0.2361 |    0.2283 |
#> |.....................|    0.5441 |...........|...........|...........|
#> |    U|     116.80367 |    0.4635 |     1.002 |     3.460 |    0.6948 |
#> |.....................|     1.102 |  0.008877 |     1.256 |     1.953 |
#> |.....................|     2.691 |...........|...........|...........|
#> |    X|     116.80367 |     1.590 |     2.725 |     31.82 |    0.6948 |
#> |.....................|     3.011 |     1.009 |     1.256 |     1.953 |
#> |.....................|     2.691 |...........|...........|...........|
#> |    C| Central Diff. |  -0.02268 |   0.02197 |    0.2634 |   0.07429 |
#> |.....................|    0.4319 |   0.02418 |   -0.1614 |    0.2090 |
#> |.....................|   0.09616 |...........|...........|...........|
#> |   30|     116.80362 |   -0.7255 |   -0.4151 |     1.009 |   -0.6093 |
#> |.....................|   -0.3191 |   -0.9912 |   -0.2358 |    0.2278 |
#> |.....................|    0.5438 |...........|...........|...........|
#> |    U|     116.80362 |    0.4636 |     1.002 |     3.459 |    0.6947 |
#> |.....................|     1.101 |  0.008818 |     1.256 |     1.952 |
#> |.....................|     2.690 |...........|...........|...........|
#> |    X|     116.80362 |     1.590 |     2.725 |     31.80 |    0.6947 |
#> |.....................|     3.008 |     1.009 |     1.256 |     1.952 |
#> |.....................|     2.690 |...........|...........|...........|
#> |    C| Central Diff. | -0.004902 |  -0.05560 |   -0.3425 |  -0.06713 |
#> |.....................|    0.4342 |  -0.06126 |   -0.1009 |    0.1343 |
#> |.....................|   0.07798 |...........|...........|...........|
#> |   31|     116.80362 |   -0.7255 |   -0.4151 |     1.009 |   -0.6093 |
#> |.....................|   -0.3191 |   -0.9912 |   -0.2358 |    0.2278 |
#> |.....................|    0.5438 |...........|...........|...........|
#> |    U|     116.80362 |    0.4636 |     1.002 |     3.459 |    0.6947 |
#> |.....................|     1.101 |  0.008818 |     1.256 |     1.952 |
#> |.....................|     2.690 |...........|...........|...........|
#> |    X|     116.80362 |     1.590 |     2.725 |     31.80 |    0.6947 |
#> |.....................|     3.008 |     1.009 |     1.256 |     1.952 |
#> |.....................|     2.690 |...........|...........|...........|
#> calculating covariance matrix
#> done
#> Calculating residuals/tables
#> done
#>  added categorical_SEX_0*cov_SEX_0_ka to ka's equation in the model
#>  updated value: ka<-exp(tka+categorical_SEX_0*cov_SEX_0_ka+eta.ka)
#> Needed Covariates:
#> [1] "categorical_SEX_0"
#> Key: U: Unscaled Parameters; X: Back-transformed parameters; G: Gill difference gradient approximation
#> F: Forward difference gradient approximation
#> C: Central difference gradient approximation
#> M: Mixed forward and central difference gradient approximation
#> Unscaled parameters for Omegas=chol(solve(omega));
#> Diagonals are transformed, as specified by foceiControl(diagXform=)
#> |-----+---------------+-----------+-----------+-----------+-----------|
#> |    #| Objective Fun |       tka |       tcl |        tv |    add.sd |
#> |.....................|cov_SEX_0_ka |        o1 |        o2 |        o3 |
#> |    1|     133.57512 |   -0.7391 |   -0.4242 |     1.000 |   -0.5942 |
#> |.....................|    -1.000 |   -0.3413 |   -0.2167 |   0.03089 |
#> |    U|     133.57512 |    0.4500 |    0.9933 |     3.450 |    0.7000 |
#> |.....................|     0.000 |     1.136 |     1.351 |     1.778 |
#> |    X|     133.57512 |     1.568 |     2.700 |     31.50 |    0.7000 |
#> |.....................|     1.000 |     1.136 |     1.351 |     1.778 |
#> |    G|    Gill Diff. |   -0.9310 |    -1.614 |    -3.052 |     1.486 |
#> |.....................|   -0.4170 |    -11.76 |    -35.33 |    -34.78 |
#> |    2|     122.55580 |   -0.7209 |   -0.3926 |     1.060 |   -0.6233 |
#> |.....................|   -0.9918 |   -0.1113 |    0.4747 |    0.7115 |
#> |    U|      122.5558 |    0.4682 |     1.025 |     3.510 |    0.6898 |
#> |.....................|  0.008161 |     1.398 |     2.285 |     2.989 |
#> |    X|      122.5558 |     1.597 |     2.787 |     33.44 |    0.6898 |
#> |.....................|     1.008 |     1.398 |     2.285 |     2.989 |
#> |    F| Forward Diff. |   -0.5879 |     14.77 |     69.80 |    -4.764 |
#> |.....................|  -0.03637 |     13.98 |     16.75 |     13.92 |
#> |    3|     691.10616 |   -0.7031 |   -0.5849 |    0.1039 |   -0.5711 |
#> |.....................|   -0.9871 |   -0.1889 |    0.5986 |    0.8696 |
#> |    U|     691.10616 |    0.4860 |    0.8325 |     2.554 |    0.7081 |
#> |.....................|   0.01293 |     1.309 |     2.453 |     3.270 |
#> |    X|     691.10616 |     1.626 |     2.299 |     12.86 |    0.7081 |
#> |.....................|     1.013 |     1.309 |     2.453 |     3.270 |
#> |    4|     121.02874 |   -0.7201 |   -0.4120 |    0.9679 |   -0.6170 |
#> |.....................|   -0.9918 |   -0.1297 |    0.4527 |    0.6932 |
#> |    U|     121.02874 |    0.4690 |     1.005 |     3.418 |    0.6920 |
#> |.....................|  0.008209 |     1.377 |     2.256 |     2.956 |
#> |    X|     121.02874 |     1.598 |     2.733 |     30.51 |    0.6920 |
#> |.....................|     1.008 |     1.377 |     2.256 |     2.956 |
#> |    F| Forward Diff. |     2.917 |    -6.971 |    -53.55 |    -2.967 |
#> |.....................|     1.742 |     13.03 |     15.44 |     9.483 |
#> |    5|     118.40174 |   -0.7260 |   -0.4105 |     1.019 |   -0.6065 |
#> |.....................|   -0.9955 |   -0.1723 |    0.3939 |    0.6492 |
#> |    U|     118.40174 |    0.4631 |     1.007 |     3.469 |    0.6957 |
#> |.....................|  0.004509 |     1.328 |     2.176 |     2.878 |
#> |    X|     118.40174 |     1.589 |     2.737 |     32.11 |    0.6957 |
#> |.....................|     1.005 |     1.328 |     2.176 |     2.878 |
#> |    F| Forward Diff. |   0.07633 |   -0.1581 |     11.46 |   -0.8748 |
#> |.....................|    0.1348 |     7.362 |     11.25 |     6.703 |
#> |    6|     117.95495 |   -0.7267 |   -0.4039 |    0.9747 |   -0.6032 |
#> |.....................|   -0.9963 |   -0.2125 |    0.3261 |    0.6074 |
#> |    U|     117.95495 |    0.4625 |     1.014 |     3.425 |    0.6969 |
#> |.....................|  0.003734 |     1.283 |     2.085 |     2.804 |
#> |    X|     117.95495 |     1.588 |     2.755 |     30.71 |    0.6969 |
#> |.....................|     1.004 |     1.283 |     2.085 |     2.804 |
#> |    F| Forward Diff. |     1.142 |    -2.109 |    -37.25 |    0.1578 |
#> |.....................|    0.6370 |     3.033 |     7.179 |     4.214 |
#> |    7|     117.27615 |   -0.7182 |   -0.4100 |     1.035 |   -0.6363 |
#> |.....................|   -0.9909 |   -0.2254 |    0.1674 |    0.5083 |
#> |    U|     117.27615 |    0.4709 |     1.007 |     3.485 |    0.6853 |
#> |.....................|  0.009073 |     1.268 |     1.870 |     2.627 |
#> |    X|     117.27615 |     1.601 |     2.738 |     32.61 |    0.6853 |
#> |.....................|     1.009 |     1.268 |     1.870 |     2.627 |
#> |    F| Forward Diff. |    0.1169 |  -0.05648 |     21.58 |    -2.781 |
#> |.....................|    0.1842 |     1.470 |    -4.358 |    -1.196 |
#> |    8|     118.54890 |   -0.7525 |   -0.3501 |     1.019 |   -0.5088 |
#> |.....................|    -1.016 |   -0.3335 |    0.2430 |    0.4814 |
#> |    U|      118.5489 |    0.4367 |     1.067 |     3.469 |    0.7299 |
#> |.....................|  -0.01566 |     1.145 |     1.972 |     2.579 |
#> |    X|      118.5489 |     1.548 |     2.908 |     32.11 |    0.7299 |
#> |.....................|    0.9845 |     1.145 |     1.972 |     2.579 |
#> |    9|     116.93464 |   -0.7235 |   -0.4010 |     1.003 |   -0.6135 |
#> |.....................|   -0.9949 |   -0.2436 |    0.1846 |    0.5059 |
#> |    U|     116.93464 |    0.4656 |     1.016 |     3.453 |    0.6933 |
#> |.....................|  0.005125 |     1.247 |     1.893 |     2.623 |
#> |    X|     116.93464 |     1.593 |     2.763 |     31.60 |    0.6933 |
#> |.....................|     1.005 |     1.247 |     1.893 |     2.623 |
#> |    F| Forward Diff. |    0.3488 |    0.7543 |    -5.973 |   -0.1278 |
#> |.....................|    0.2306 |   -0.8978 |    -3.081 |    -2.164 |
#> |   10|     116.93744 |   -0.7321 |   -0.4192 |     1.016 |   -0.5997 |
#> |.....................|    -1.001 |   -0.2676 |    0.2064 |    0.5262 |
#> |    U|     116.93744 |    0.4571 |    0.9982 |     3.466 |    0.6981 |
#> |.....................| -0.001381 |     1.220 |     1.923 |     2.659 |
#> |    X|     116.93744 |     1.579 |     2.713 |     32.01 |    0.6981 |
#> |.....................|    0.9986 |     1.220 |     1.923 |     2.659 |
#> |   11|     116.88388 |   -0.7271 |   -0.4087 |     1.015 |   -0.6082 |
#> |.....................|   -0.9976 |   -0.2515 |    0.1963 |    0.5160 |
#> |    U|     116.88388 |    0.4620 |     1.009 |     3.465 |    0.6951 |
#> |.....................|  0.002425 |     1.238 |     1.909 |     2.641 |
#> |    X|     116.88388 |     1.587 |     2.742 |     31.97 |    0.6951 |
#> |.....................|     1.002 |     1.238 |     1.909 |     2.641 |
#> |    F| Forward Diff. |   -0.2061 |   -0.6685 |     4.419 |    0.3784 |
#> |.....................|  -0.09611 |    -1.834 |    -2.265 |    -1.332 |
#> |   12|     116.83811 |   -0.7273 |   -0.3999 |     1.007 |   -0.6172 |
#> |.....................|   -0.9986 |   -0.2402 |    0.2040 |    0.5279 |
#> |    U|     116.83811 |    0.4618 |     1.018 |     3.457 |    0.6919 |
#> |.....................|  0.001424 |     1.251 |     1.920 |     2.662 |
#> |    X|     116.83811 |     1.587 |     2.766 |     31.72 |    0.6919 |
#> |.....................|     1.001 |     1.251 |     1.920 |     2.662 |
#> |    F| Forward Diff. |-0.0007674 |     1.289 |    -2.244 |   -0.5382 |
#> |.....................|   0.03519 |   -0.5761 |    -1.568 |   -0.9295 |
#> |   13|     116.84153 |   -0.7239 |   -0.4172 |     1.012 |   -0.6120 |
#> |.....................|   -0.9975 |   -0.2292 |    0.2099 |    0.5327 |
#> |    U|     116.84153 |    0.4653 |     1.000 |     3.462 |    0.6938 |
#> |.....................|  0.002457 |     1.264 |     1.928 |     2.671 |
#> |    X|     116.84153 |     1.592 |     2.719 |     31.89 |    0.6938 |
#> |.....................|     1.002 |     1.264 |     1.928 |     2.671 |
#> |   14|     116.83067 |   -0.7273 |   -0.4043 |     1.015 |   -0.6154 |
#> |.....................|   -0.9987 |   -0.2382 |    0.2093 |    0.5311 |
#> |    U|     116.83067 |    0.4618 |     1.013 |     3.465 |    0.6926 |
#> |.....................|  0.001304 |     1.253 |     1.927 |     2.668 |
#> |    X|     116.83067 |     1.587 |     2.754 |     31.96 |    0.6926 |
#> |.....................|     1.001 |     1.253 |     1.927 |     2.668 |
#> |    F| Forward Diff. |   -0.1828 |    0.5439 |     4.567 |   -0.4765 |
#> |.....................|  -0.09208 |   -0.2145 |    -1.232 |   -0.5325 |
#> |   15|     116.82363 |   -0.7260 |   -0.4111 |     1.007 |   -0.6129 |
#> |.....................|   -0.9981 |   -0.2366 |    0.2120 |    0.5328 |
#> |    U|     116.82363 |    0.4632 |     1.006 |     3.457 |    0.6935 |
#> |.....................|  0.001909 |     1.255 |     1.931 |     2.671 |
#> |    X|     116.82363 |     1.589 |     2.736 |     31.73 |    0.6935 |
#> |.....................|     1.002 |     1.255 |     1.931 |     2.671 |
#> |    F| Forward Diff. |   0.04808 |    -1.781 |    -2.754 |  -0.07838 |
#> |.....................|   0.06039 |   0.01268 |    -1.004 |   -0.6139 |
#> |   16|     116.81169 |   -0.7238 |   -0.4029 |     1.009 |   -0.6086 |
#> |.....................|   -0.9972 |   -0.2400 |    0.2157 |    0.5344 |
#> |    U|     116.81169 |    0.4653 |     1.015 |     3.459 |    0.6950 |
#> |.....................|  0.002787 |     1.251 |     1.936 |     2.674 |
#> |    X|     116.81169 |     1.593 |     2.758 |     31.80 |    0.6950 |
#> |.....................|     1.003 |     1.251 |     1.936 |     2.674 |
#> |    F| Forward Diff. |    0.1678 |    0.6905 |   -0.1425 |    0.2402 |
#> |.....................|    0.1112 |   -0.4240 |   -0.7482 |   -0.4865 |
#> |   17|     116.80677 |   -0.7253 |   -0.4090 |     1.011 |   -0.6107 |
#> |.....................|   -0.9982 |   -0.2362 |    0.2224 |    0.5387 |
#> |    U|     116.80677 |    0.4638 |     1.008 |     3.461 |    0.6942 |
#> |.....................|  0.001805 |     1.256 |     1.944 |     2.681 |
#> |    X|     116.80677 |     1.590 |     2.741 |     31.84 |    0.6942 |
#> |.....................|     1.002 |     1.256 |     1.944 |     2.681 |
#> |    F| Forward Diff. |   0.01504 |   -0.9812 |    0.7515 |  0.005409 |
#> |.....................|   0.03209 |   0.04021 |   -0.3249 |   -0.1749 |
#> |   18|     116.81581 |   -0.7286 |   -0.4032 |     1.005 |   -0.6138 |
#> |.....................|    -1.001 |   -0.2368 |    0.2265 |    0.5414 |
#> |    U|     116.81581 |    0.4605 |     1.014 |     3.455 |    0.6932 |
#> |.....................|-0.0008846 |     1.255 |     1.950 |     2.686 |
#> |    X|     116.81581 |     1.585 |     2.757 |     31.65 |    0.6932 |
#> |.....................|    0.9991 |     1.255 |     1.950 |     2.686 |
#> |   19|     116.80493 |   -0.7253 |   -0.4066 |     1.009 |   -0.6107 |
#> |.....................|   -0.9983 |   -0.2363 |    0.2232 |    0.5391 |
#> |    U|     116.80493 |    0.4638 |     1.011 |     3.459 |    0.6942 |
#> |.....................|  0.001725 |     1.256 |     1.946 |     2.682 |
#> |    X|     116.80493 |     1.590 |     2.748 |     31.78 |    0.6942 |
#> |.....................|     1.002 |     1.256 |     1.946 |     2.682 |
#> |    F| Forward Diff. |   0.06453 |   -0.3935 |   -0.8599 |   0.04371 |
#> |.....................|   0.04027 | -0.006993 |   -0.2461 |   -0.2039 |
#> |   20|     116.80475 |   -0.7264 |   -0.4054 |     1.011 |   -0.6118 |
#> |.....................|   -0.9989 |   -0.2371 |    0.2235 |    0.5401 |
#> |    U|     116.80475 |    0.4627 |     1.012 |     3.461 |    0.6939 |
#> |.....................|  0.001053 |     1.255 |     1.946 |     2.684 |
#> |    X|     116.80475 |     1.588 |     2.751 |     31.85 |    0.6939 |
#> |.....................|     1.001 |     1.255 |     1.946 |     2.684 |
#> |    C| Central Diff. |  -0.06906 |   0.03123 |     1.157 |   -0.2742 |
#> |.....................|  -0.05595 |   -0.1278 |   -0.1446 |  -0.09143 |
#> |   21|     116.80475 |   -0.7264 |   -0.4054 |     1.011 |   -0.6118 |
#> |.....................|   -0.9989 |   -0.2371 |    0.2235 |    0.5401 |
#> |    U|     116.80475 |    0.4627 |     1.012 |     3.461 |    0.6939 |
#> |.....................|  0.001053 |     1.255 |     1.946 |     2.684 |
#> |    X|     116.80475 |     1.588 |     2.751 |     31.85 |    0.6939 |
#> |.....................|     1.001 |     1.255 |     1.946 |     2.684 |
#> calculating covariance matrix
#> done
#> Calculating residuals/tables
#> done
#>  added categorical_SEX_0*cov_SEX_0_cl to cl's equation in the model
#>  updated value: cl<-exp(tcl+categorical_SEX_0*cov_SEX_0_cl+eta.cl)
#> Needed Covariates:
#> [1] "categorical_SEX_0"
#> Key: U: Unscaled Parameters; X: Back-transformed parameters; G: Gill difference gradient approximation
#> F: Forward difference gradient approximation
#> C: Central difference gradient approximation
#> M: Mixed forward and central difference gradient approximation
#> Unscaled parameters for Omegas=chol(solve(omega));
#> Diagonals are transformed, as specified by foceiControl(diagXform=)
#> |-----+---------------+-----------+-----------+-----------+-----------|
#> |    #| Objective Fun |       tka |       tcl |        tv |    add.sd |
#> |.....................|cov_SEX_0_cl |        o1 |        o2 |        o3 |
#> |    1|     133.57512 |   -0.7391 |   -0.4242 |     1.000 |   -0.5942 |
#> |.....................|    -1.000 |   -0.3413 |   -0.2167 |   0.03089 |
#> |    U|     133.57512 |    0.4500 |    0.9933 |     3.450 |    0.7000 |
#> |.....................|     0.000 |     1.136 |     1.351 |     1.778 |
#> |    X|     133.57512 |     1.568 |     2.700 |     31.50 |    0.7000 |
#> |.....................|     1.000 |     1.136 |     1.351 |     1.778 |
#> |    G|    Gill Diff. |   -0.9310 |    -1.614 |    -3.052 |     1.486 |
#> |.....................|    -1.911 |    -11.76 |    -35.33 |    -34.78 |
#> |    2|     122.78605 |   -0.7209 |   -0.3926 |     1.060 |   -0.6233 |
#> |.....................|   -0.9626 |   -0.1114 |    0.4743 |    0.7110 |
#> |    U|     122.78605 |    0.4682 |     1.025 |     3.510 |    0.6898 |
#> |.....................|   0.03737 |     1.397 |     2.285 |     2.988 |
#> |    X|     122.78605 |     1.597 |     2.787 |     33.44 |    0.6898 |
#> |.....................|     1.038 |     1.397 |     2.285 |     2.988 |
#> |    F| Forward Diff. |   -0.7175 |     23.77 |     72.40 |    -4.622 |
#> |.....................|     11.27 |     14.06 |     17.31 |     14.12 |
#> |    3|     737.26348 |   -0.7017 |   -0.6865 |    0.1450 |   -0.5785 |
#> |.....................|    -1.090 |   -0.1712 |    0.6210 |    0.8935 |
#> |    U|     737.26348 |    0.4874 |    0.7309 |     2.595 |    0.7055 |
#> |.....................|  -0.08988 |     1.330 |     2.483 |     3.312 |
#> |    X|     737.26348 |     1.628 |     2.077 |     13.40 |    0.7055 |
#> |.....................|    0.9140 |     1.330 |     2.483 |     3.312 |
#> |    4|     120.78492 |   -0.7200 |   -0.4218 |    0.9709 |   -0.6176 |
#> |.....................|   -0.9764 |   -0.1287 |    0.4531 |    0.6937 |
#> |    U|     120.78492 |    0.4691 |    0.9957 |     3.421 |    0.6918 |
#> |.....................|   0.02355 |     1.378 |     2.256 |     2.957 |
#> |    X|     120.78492 |     1.599 |     2.707 |     30.60 |    0.6918 |
#> |.....................|     1.024 |     1.378 |     2.256 |     2.957 |
#> |    F| Forward Diff. |     2.525 |    -5.693 |    -49.31 |    -2.936 |
#> |.....................|    -5.216 |     13.09 |     15.32 |     9.286 |
#> |    5|     118.38401 |   -0.7252 |   -0.4269 |     1.023 |   -0.6077 |
#> |.....................|   -0.9741 |   -0.1706 |    0.3941 |    0.6497 |
#> |    U|     118.38401 |    0.4639 |    0.9905 |     3.473 |    0.6953 |
#> |.....................|   0.02586 |     1.330 |     2.176 |     2.879 |
#> |    X|     118.38401 |     1.590 |     2.693 |     32.22 |    0.6953 |
#> |.....................|     1.026 |     1.330 |     2.176 |     2.879 |
#> |    F| Forward Diff. |   -0.1545 |    -1.289 |     15.24 |    -1.148 |
#> |.....................|    -2.516 |     7.426 |     11.05 |     6.967 |
#> |    6|     117.77279 |   -0.7252 |   -0.4086 |    0.9790 |   -0.6031 |
#> |.....................|   -0.9555 |   -0.2085 |    0.3301 |    0.6066 |
#> |    U|     117.77279 |    0.4639 |     1.009 |     3.429 |    0.6969 |
#> |.....................|   0.04453 |     1.287 |     2.090 |     2.802 |
#> |    X|     117.77279 |     1.590 |     2.743 |     30.84 |    0.6969 |
#> |.....................|     1.046 |     1.287 |     2.090 |     2.802 |
#> |    F| Forward Diff. |     1.142 |     4.769 |    -31.03 |    0.2374 |
#> |.....................|     2.300 |     3.462 |     7.315 |     3.986 |
#> |    7|     116.95538 |   -0.7250 |   -0.4398 |     1.025 |   -0.6141 |
#> |.....................|   -0.9699 |   -0.2212 |    0.2621 |    0.5641 |
#> |    U|     116.95538 |    0.4641 |    0.9776 |     3.475 |    0.6930 |
#> |.....................|   0.03008 |     1.273 |     1.998 |     2.726 |
#> |    X|     116.95538 |     1.591 |     2.658 |     32.29 |    0.6930 |
#> |.....................|     1.031 |     1.273 |     1.998 |     2.726 |
#> |    F| Forward Diff. |   -0.3886 |    -4.961 |     13.94 |   -0.7001 |
#> |.....................|    -3.729 |     1.665 |     2.316 |     1.932 |
#> |    8|     117.33632 |   -0.7215 |   -0.3841 |     1.016 |   -0.6204 |
#> |.....................|   -0.9264 |   -0.2098 |    0.2107 |    0.5182 |
#> |    U|     117.33632 |    0.4676 |     1.033 |     3.466 |    0.6908 |
#> |.....................|   0.07358 |     1.286 |     1.929 |     2.645 |
#> |    X|     117.33632 |     1.596 |     2.810 |     32.01 |    0.6908 |
#> |.....................|     1.076 |     1.286 |     1.929 |     2.645 |
#> |    9|     116.76621 |   -0.7239 |   -0.4230 |     1.006 |   -0.6145 |
#> |.....................|   -0.9570 |   -0.2211 |    0.2494 |    0.5528 |
#> |    U|     116.76621 |    0.4653 |    0.9945 |     3.456 |    0.6929 |
#> |.....................|   0.04304 |     1.273 |     1.981 |     2.706 |
#> |    X|     116.76621 |     1.592 |     2.703 |     31.69 |    0.6929 |
#> |.....................|     1.044 |     1.273 |     1.981 |     2.706 |
#> |    F| Forward Diff. |    0.2608 |     1.051 |    -3.353 |   -0.5297 |
#> |.....................|    0.2923 |     1.917 |     1.422 |    0.6972 |
#> |   10|     116.75244 |   -0.7265 |   -0.4298 |     1.012 |   -0.6020 |
#> |.....................|   -0.9537 |   -0.2497 |    0.2443 |    0.5524 |
#> |    U|     116.75244 |    0.4626 |    0.9877 |     3.462 |    0.6973 |
#> |.....................|   0.04626 |     1.240 |     1.974 |     2.706 |
#> |    X|     116.75244 |     1.588 |     2.685 |     31.87 |    0.6973 |
#> |.....................|     1.047 |     1.240 |     1.974 |     2.706 |
#> |    F| Forward Diff. |   -0.1254 |   -0.2137 |     1.980 |    0.8773 |
#> |.....................|  -0.09804 |    -1.727 |     1.005 |    0.8043 |
#> |   11|     116.75284 |   -0.7275 |   -0.4383 |     1.006 |   -0.6100 |
#> |.....................|   -0.9551 |   -0.2372 |    0.2215 |    0.5365 |
#> |    U|     116.75284 |    0.4617 |    0.9791 |     3.456 |    0.6945 |
#> |.....................|   0.04491 |     1.255 |     1.943 |     2.677 |
#> |    X|     116.75284 |     1.587 |     2.662 |     31.68 |    0.6945 |
#> |.....................|     1.046 |     1.255 |     1.943 |     2.677 |
#> |   12|     116.74590 |   -0.7263 |   -0.4312 |     1.004 |   -0.6067 |
#> |.....................|   -0.9538 |   -0.2412 |    0.2356 |    0.5460 |
#> |    U|      116.7459 |    0.4628 |    0.9863 |     3.454 |    0.6956 |
#> |.....................|   0.04624 |     1.250 |     1.962 |     2.694 |
#> |    X|      116.7459 |     1.588 |     2.681 |     31.62 |    0.6956 |
#> |.....................|     1.047 |     1.250 |     1.962 |     2.694 |
#> |    F| Forward Diff. |   0.06437 |    -1.139 |    -5.610 |    0.5232 |
#> |.....................|   -0.5415 |   -0.5972 |    0.4651 |    0.2684 |
#> |   13|     116.73422 |   -0.7262 |   -0.4250 |     1.013 |   -0.6111 |
#> |.....................|   -0.9498 |   -0.2346 |    0.2288 |    0.5408 |
#> |    U|     116.73422 |    0.4629 |    0.9925 |     3.463 |    0.6941 |
#> |.....................|   0.05020 |     1.258 |     1.953 |     2.685 |
#> |    X|     116.73422 |     1.589 |     2.698 |     31.91 |    0.6941 |
#> |.....................|     1.051 |     1.258 |     1.953 |     2.685 |
#> |    F| Forward Diff. |  -0.07660 |     1.817 |     3.420 |  -0.05880 |
#> |.....................|     1.193 |    0.2120 |  -0.05659 |    0.1084 |
#> |   14|     116.74172 |   -0.7251 |   -0.4344 |     1.013 |   -0.6141 |
#> |.....................|   -0.9595 |   -0.2384 |    0.2248 |    0.5339 |
#> |    U|     116.74172 |    0.4641 |    0.9830 |     3.463 |    0.6930 |
#> |.....................|   0.04053 |     1.253 |     1.948 |     2.673 |
#> |    X|     116.74172 |     1.591 |     2.673 |     31.90 |    0.6930 |
#> |.....................|     1.041 |     1.253 |     1.948 |     2.673 |
#> |   15|     116.72382 |   -0.7259 |   -0.4289 |     1.009 |   -0.6117 |
#> |.....................|   -0.9531 |   -0.2356 |    0.2280 |    0.5392 |
#> |    U|     116.72382 |    0.4632 |    0.9885 |     3.459 |    0.6939 |
#> |.....................|   0.04689 |     1.256 |     1.952 |     2.682 |
#> |    X|     116.72382 |     1.589 |     2.687 |     31.80 |    0.6939 |
#> |.....................|     1.048 |     1.256 |     1.952 |     2.682 |
#> |    F| Forward Diff. |  -0.01181 |  -0.03558 |   -0.2926 |   -0.1382 |
#> |.....................|   0.03094 |    0.1167 |   -0.1180 |  -0.03285 |
#> |   16|     116.72556 |   -0.7248 |   -0.4293 |     1.011 |   -0.6074 |
#> |.....................|   -0.9562 |   -0.2368 |    0.2309 |    0.5384 |
#> |    U|     116.72556 |    0.4643 |    0.9881 |     3.461 |    0.6954 |
#> |.....................|   0.04377 |     1.255 |     1.956 |     2.681 |
#> |    X|     116.72556 |     1.591 |     2.686 |     31.85 |    0.6954 |
#> |.....................|     1.045 |     1.255 |     1.956 |     2.681 |
#> |   17|     116.72368 |   -0.7257 |   -0.4289 |     1.010 |   -0.6108 |
#> |.....................|   -0.9536 |   -0.2361 |    0.2286 |    0.5392 |
#> |    U|     116.72368 |    0.4634 |    0.9886 |     3.460 |    0.6942 |
#> |.....................|   0.04638 |     1.256 |     1.953 |     2.682 |
#> |    X|     116.72368 |     1.590 |     2.687 |     31.82 |    0.6942 |
#> |.....................|     1.047 |     1.256 |     1.953 |     2.682 |
#> |    F| Forward Diff. |  -0.02452 |  -0.04193 |    0.5323 |  0.002363 |
#> |.....................|  0.006842 |   0.03303 |  -0.07886 |  -0.01622 |
#> |   18|     116.72355 |   -0.7254 |   -0.4282 |     1.009 |   -0.6104 |
#> |.....................|   -0.9540 |   -0.2362 |    0.2296 |    0.5391 |
#> |    U|     116.72355 |    0.4638 |    0.9892 |     3.459 |    0.6943 |
#> |.....................|   0.04596 |     1.256 |     1.954 |     2.682 |
#> |    X|     116.72355 |     1.590 |     2.689 |     31.80 |    0.6943 |
#> |.....................|     1.047 |     1.256 |     1.954 |     2.682 |
#> |    C| Central Diff. |  0.001732 |-0.0002288 |   -0.3494 |  0.005897 |
#> |.....................|  -0.05803 |   -0.1201 |  0.008323 |  -0.03459 |
#> |   19|     116.72355 |   -0.7254 |   -0.4282 |     1.009 |   -0.6104 |
#> |.....................|   -0.9540 |   -0.2362 |    0.2296 |    0.5391 |
#> |    U|     116.72355 |    0.4638 |    0.9892 |     3.459 |    0.6943 |
#> |.....................|   0.04596 |     1.256 |     1.954 |     2.682 |
#> |    X|     116.72355 |     1.590 |     2.689 |     31.80 |    0.6943 |
#> |.....................|     1.047 |     1.256 |     1.954 |     2.682 |
#> calculating covariance matrix
#> done
#> Calculating residuals/tables
#> done
#> 
#> ── objf value did not improve, exiting the search ... ──────────────────────────
#> 
#> ── forward search complete ──
#> 
#> $summaryTable
#>   step covar var     objf      deltObjf      AIC      BIC numParams  qchisqr
#> 1    1    WT  ka 116.8038  0.0001862661 377.4036 403.3488         9 5.991465
#> 2    1    WT  cl 116.8036  0.0003408229 377.4034 403.3486         9 5.991465
#> 3    1   SEX  ka 116.8048 -0.0007896216 375.4045 398.4669         8 3.841459
#> 4    1   SEX  cl 116.7235    0.08041788 375.3233 398.3857         8 3.841459
#>     pchisqr included searchType     covNames covarEffect
#> 1         1             forward    cov_WT_ka 0.006527741
#> 2         1             forward    cov_WT_cl 0.008818391
#> 3 0.9775822             forward cov_SEX_0_ka 0.001053179
#> 4         1             forward cov_SEX_0_cl  0.04595978
#> 
#> $resFwd
#> $resFwd[[1]]
#> ── nlmixr FOCEi (outer: nlminb) fit ────────────────────────────────────────────
#> 
#>          OBJF      AIC      BIC Log-likelihood Condition Number
#> FOCEi 116.804 373.4037 393.5833      -179.7019         68.47463
#> 
#> ── Time (sec $time): ───────────────────────────────────────────────────────────
#> 
#>            setup optimize covariance table    other
#> elapsed 0.517463 0.288182   0.288188  0.02 0.844167
#> 
#> ── Population Parameters ($parFixed or $parFixedDf): ───────────────────────────
#> 
#>        Parameter  Est.     SE %RSE Back-transformed(95%CI) BSV(CV%) Shrink(SD)%
#> tka       Log Ka 0.466  0.195 41.9       1.59 (1.09, 2.34)     70.5      1.91% 
#> tcl       Log Cl  1.01 0.0751 7.42       2.75 (2.37, 3.19)     26.9      4.16% 
#> tv         log V  3.46 0.0437 1.26       31.8 (29.2, 34.7)     13.9      10.3% 
#> add.sd           0.695                               0.695                     
#>  
#>   Covariance Type ($covMethod): r,s
#>   Some strong fixed parameter correlations exist ($cor) :
#>     cor:tcl,tka  cor:tv,tka  cor:tv,tcl 
#>      0.158        0.422       0.744  
#>  
#> 
#>   No correlations in between subject variability (BSV) matrix
#>   Full BSV covariance ($omega) or correlation ($omegaR; diagonals=SDs) 
#>   Distribution stats (mean/skewness/kurtosis/p-value) available in $shrink 
#>   Minimization message ($message):  
#>     relative convergence (4) 
#> 
#> ── Fit Data (object is a modified tibble): ─────────────────────────────────────
#> # A tibble: 132 x 20
#>   ID     TIME    DV  PRED    RES   WRES     IPRED   IRES  IWRES     CPRED   CRES
#>   <fct> <dbl> <dbl> <dbl>  <dbl>  <dbl>     <dbl>  <dbl>  <dbl>     <dbl>  <dbl>
#> 1 1      0     0.74  0     0.74   1.07  -1.96e-15  0.740  1.07  -1.78e-15  0.740
#> 2 1      0.25  2.84  3.27 -0.426 -0.227  3.85e+ 0 -1.01  -1.45   3.22e+ 0 -0.383
#> 3 1      0.57  6.57  5.83  0.736  0.295  6.79e+ 0 -0.215 -0.310  5.78e+ 0  0.791
#> # … with 129 more rows, and 9 more variables: CWRES <dbl>, eta.ka <dbl>,
#> #   eta.cl <dbl>, eta.v <dbl>, ka <dbl>, cl <dbl>, v <dbl>, tad <dbl>,
#> #   dosenum <dbl>
#> 
#> $resFwd[[2]]
#>   step covar var     objf      deltObjf      AIC      BIC numParams  qchisqr
#> 1    1    WT  ka 116.8038  0.0001862661 377.4036 403.3488         9 5.991465
#> 2    1    WT  cl 116.8036  0.0003408229 377.4034 403.3486         9 5.991465
#> 3    1   SEX  ka 116.8048 -0.0007896216 375.4045 398.4669         8 3.841459
#> 4    1   SEX  cl 116.7235    0.08041788 375.3233 398.3857         8 3.841459
#>     pchisqr included searchType     covNames covarEffect
#> 1         1             forward    cov_WT_ka 0.006527741
#> 2         1             forward    cov_WT_cl 0.008818391
#> 3 0.9775822             forward cov_SEX_0_ka 0.001053179
#> 4         1             forward cov_SEX_0_cl  0.04595978
#> 
#> 
#> $resBck
#> NULL
#> 

# }