aboutsummaryrefslogtreecommitdiff
path: root/R
AgeCommit message (Collapse)AuthorFilesLines
2022-10-26Remove kernel density estimate from llhistJohannes Ranke1-11/+9
2022-10-26Make multistart work with testthat scopesJohannes Ranke1-3/+20
Also skip long-running test with saem using the analytical from mkin
2022-10-25Complete documentation and fix a bugJohannes Ranke3-2/+6
The bug was introduced by the changes in summary.saem.mmkin.R and surfaced in the tests when using saemix transformations.
2022-10-25Revert accidental changeJohannes Ranke1-21/+27
2022-10-21Explain chisq tests in anovaJohannes Ranke1-1/+2
Now that I understand how anova.lmer from which I ported the code produces mostly meaningful likelihood ratio tests in the table.
2022-10-21Adapt summary.saem.mmkin to covariate modelsJohannes Ranke1-7/+6
Dissipation times are calculated for covariate values of zero currently, which will usually not be very useful.
2022-10-21Add a simple anova method for model comparisonJohannes Ranke2-4/+116
Update docs
2022-10-21Make update.saem.mmkin work with objects from multistartJohannes Ranke1-6/+10
In particular, objects selected using best.multistart can now be updated, as the starting parameters are inserted into the call, without reference to 'start_parms' which will not be available outside the multistart method.
2022-10-20First working version setting up covariate modelsJohannes Ranke1-4/+53
2022-10-18Don't fail if one of the Hessians can't be computedJohannes Ranke1-1/+8
2022-10-17Fix selecting by log likelihood in parhistJohannes Ranke1-8/+21
2022-10-17SFORB in saem, update for mhmkin and multistartJohannes Ranke3-1/+69
2022-10-14update method for mhmkin objects, clarify commentJohannes Ranke2-2/+25
2022-10-14Select best fit from multistart, use in parhistJohannes Ranke2-14/+68
- Add 'best' and 'which.best' generics with methods for multistart objects - Per default, scale the parameters in parhist plots using the fit with the highest log likelihood.
2022-10-13Cope with failed FIM inversionsJohannes Ranke3-10/+29
2022-10-05Simplify the removal of random effectsJohannes Ranke1-4/+33
This is achieved by introducing the argument 'no_random_effect' to the saem function.
2022-09-29Add set_nd_nq previously in pfmJohannes Ranke1-0/+164
pfm depends on mkin anyways, so reexporting set_nd_nq and set_nd_nq_focus in pfm should provide reasonable continuity.
2022-09-29More adaptations to deal with failed saem fitsJohannes Ranke1-2/+8
2022-09-29Adapt to new format of failed saem.mmkin fitsJohannes Ranke2-8/+13
2022-09-28Fix handling of multistart fits with failuresJohannes Ranke6-60/+147
2022-09-26Make BIC.mhmkin work with failed fitsJohannes Ranke1-1/+4
2022-09-19Make the multistart method work on WindowsJohannes Ranke1-10/+24
2022-09-19Improve parhist and llhistJohannes Ranke3-23/+46
In particular, adapt the display of parameter boxplots for saem fits using mkin transformations to the way used for saem fits using saemix transformations, i.e. always show parameters on the natural scale, and normalised them by dividing by the median from the multiple runs.
2022-09-16Improve multistart documentation, bugfixJohannes Ranke3-55/+118
- Split out llhist and parhist documentation - Add example code for multistart - Create a multistart vignette, because the example code fails when run by pkgdown - Fix multistart for the case of mkin transformations in the saem fit
2022-09-16Improve docs and update pkgdownJohannes Ranke2-14/+13
2022-09-16Diagnostic plots for multistart methodJohannes Ranke3-13/+90
2022-09-14Remove purrr dependencyJohannes Ranke4-5/+8
We now directly import from rlang and vctrs, which were indirect dependencies anyways. purrr::map_dfr is deprecated in the upcoming purrr 1.0, and depends on dplyr (since when?) which is only suggested by purrr. This would lead new installations of mkin to fail if dplyr is not installed as well.
2022-09-13More work on multistartJohannes Ranke1-0/+1
2022-08-31Some more work on multistartJohannes Ranke2-5/+33
2022-08-14Basic multistart method for saem.mmkin objectsJohannes Ranke2-14/+42
2022-08-11Start a multistart methodJohannes Ranke1-0/+24
2022-08-10Naming of random effects for reduced parameter modelsJohannes Ranke2-6/+12
2022-08-10Batch processing for hierarchical fitsJohannes Ranke3-3/+285
- 'R/mhmkin.R': New method for performing multiple hierarchical mkin fits in one function call, optionally in parallel. - 'R/saem.R': 'logLik' and 'update' methods for 'saem.mmkin' objects. - 'R/illparms.R': Add methods for 'saem.mmkin' and 'mhmkin' objects. tests: Use 2 cores on travis, should work according to docs
2022-08-09Update docs for saemJohannes Ranke1-3/+3
2022-08-08Error on unsupported saemix transformationsJohannes Ranke1-2/+13
Also, support FOMC with saemix transformations
2022-08-08Fix fitting HS with saemix transformationsJohannes Ranke1-8/+19
2022-07-21Summary method for mmkin objectsJohannes Ranke4-41/+199
Also, add a method for gathering convergence information and a method for gathering information on ill-defined parameters
2022-07-21Updates to summary.mkinfitJohannes Ranke1-2/+2
2022-07-08Use inherits() instead of comparing class to stringJohannes Ranke1-1/+1
2022-07-08Store DLL info in mkinmod objects for performanceJohannes Ranke2-3/+4
Thanks to Tomas Kalibera for his analysis of the problem on the r-package-devel mailing list and for the suggestion on how to fix it. See the current benchmark vignette for the new data on mkin 1.1.1 with R 4.2.1, with unprecedented performance.
2022-04-13More control of y axes in plot.mkinfit, updatesJohannes Ranke1-6/+11
Documentation and test results were updated, the latter with regard to the previous work on plot.mixed.mmkin.
2022-04-12Fix using defaults for log rate constantsJohannes Ranke1-1/+3
2022-04-09Improvements to mean_degparms() and plot.mixed.mmkin()Johannes Ranke3-10/+26
- New argument 'default_log_parms' for mean_degparms() - 'plot.mixed.mmkin': Pass the frame argument also to residual plots, take the 'default_log_parms' argument for 'mean_degparms' used for constructing approximate population curves, plot population curve last to avoid that it is covered by data
2022-03-19Test saemix without special analytical solutionsJohannes Ranke1-12/+20
Also increase the performance a bit (from about 210 s to about 140 s in the case of DFOP with four chains and 300, 100 iterations).
2022-03-19Improvements to CAKE_export()Johannes Ranke1-3/+8
2022-03-16Use saemix in help page, typo in vignetteJohannes Ranke1-35/+36
2022-03-14Reduce check time for CRAN, releasev1.1.0Johannes Ranke3-5/+6
2022-03-07Remove nlmixr interface for release of mkin 1.1.0Johannes Ranke7-977/+5
I am postponing my attempts to get the nlmixr interface to CRAN, given some problems with nlmixr using R-devel under Windows, see https://github.com/nlmixrdevelopment/nlmixr/issues/596 and https://github.com/r-hub/rhub/issues/512, which is fixed by the removal of nlmixr from the testsuite. For the tests to be more platform independent, the biphasic mixed effects models test dataset was defined in a way that fitting should be more robust (less ill-defined).
2022-03-03Update link to 2,4-D dataJohannes Ranke1-1/+1
2022-03-02Make tests more platform independent, update docsJohannes Ranke1-2/+1

Contact - Imprint