aboutsummaryrefslogtreecommitdiff
path: root/NAMESPACE
AgeCommit message (Collapse)AuthorFilesLines
2020-11-10Digits for summary methods, print.saem.mmkinJohannes Ranke1-0/+1
2020-11-09saemix.mmkin and nlme.mmkin inherit from mixed.mmkinJohannes Ranke1-2/+1
With a plot method. The class mixed.mmkin is currently only a virtual class created to unify the plotting method.
2020-11-09Merge plot methods for nlme.mmkin and saem.mmkinJohannes Ranke1-1/+1
This avoids code duplication
2020-11-09Add plot method for saem.mmkin objectsJohannes Ranke1-0/+2
2020-11-08Improve saem method, add summaryJohannes Ranke1-0/+3
Also make the endpoints function work for saem objects.
2020-11-07Create saem generic for fitting saemix modelsJohannes Ranke1-2/+2
The reasons for this decision were - Creating an saemix generic in the saemix package caused problems with roxygen, because functions like saemix.plot.xy were documented in their help files as S3 methods, although explicitly exported with @export - Creating an saemix generic in this package is possible, but would make it necessary to load samix with exclude = "saemix" in order to avoid overwriting the generic when loading saemix. - The return object of such an saemix generic in this package cannot be an S3 class with class attribute c("saemix.mmkin", "SaemixObject") similar to nlme.mmkin, as saemix returns an S4 class. - Extending the S4 class SaemixObject using simple inheritance to a class SaemixMmkinObject with additional slots did not work as expected. When the initialize method was left untouched, it prevented creation of an SaemixMmkinObject even if it was based on an initialised SaemixObject, as the initialize method seems to always be called by new(). This could potentially be circumvented by a coerce method. If an alternative initialize method was used, an SaemixMmkinObject could be created. However, the methods written for SaemixObjects only worked in some instances, either because they checked for the class, and not for class inheritance (like compare.saemix), or because the initialize method was called for some reason. Therefore, the idea of creating a derived S4 class was abandoned. - A side effect of this decision is that the introduction of the saem generic opens the possibility to use the same generic also for other backends like nlmixr with the SAEM algorithm.
2020-11-06Make saemix an S3 generic in this packageJohannes Ranke1-3/+2
This commit also defined saemix.mmkin for mmkin row objects. This works fine, but if we set the class of the returned object to c("saemix.mmkin", "saemix"), it is not an S4 class any more which make it impossible to use saemix functions on it.
2020-11-06Fast analytical solutions for saemix, update.mmkinJohannes Ranke1-0/+3
Also, use logit transformation for g and for solitary formation fractions, addressing #10.
2020-10-27Add summary method for nlme.mmkin objectsJohannes Ranke1-0/+3
Improve and update docs
2020-10-24Plot method for nlme.mmkin objectsJohannes Ranke1-0/+1
Update docs
2020-10-15Reintroduce saemix helper functionsJohannes Ranke1-0/+5
2020-10-08Fix issues for releaseJohannes Ranke1-5/+0
2020-07-20Require upcoming nlme version, remove anova.nlme.mmkinJohannes Ranke1-1/+0
The method is no longer necessary, now that Bug 17761 is fixed upstream https://bugs.r-project.org/bugzilla/show_bug.cgi?id=17761
2020-05-29Warn if standardized residuals are unlikely normalJohannes Ranke1-0/+1
This revealed a bug in the data returned in mkinfit$data in the case of the d_3 algorithm, which also affected the residual plot - the data from the direct fitting was not returned even if this was the better method.
2020-05-26Use all cores per default, confint toleranceJohannes Ranke1-0/+1
Also, use more intelligent starting values for the variance of the random effects for saemix. While this does not appear to speed up the convergence, it shows where this variance is greatly reduced by using mixed-effects models as opposed to the separate independent fits.
2020-05-25Tell travis where to find the required saemix versionJohannes Ranke1-0/+2
2020-05-25First working version of saemix helper functionsJohannes Ranke1-0/+2
saemix_data depends on a development version of saemix, see pull request saemixdevelopment/saemixextension#2
2020-05-14Add a parms method for mmkin objectsJohannes Ranke1-0/+1
2020-04-18Fix NOTE, prepare for releasev0.9.49.10Johannes Ranke1-0/+1
2020-04-18Avoid assignment to .GlobalEnv for CRANJohannes Ranke1-0/+2
2020-04-15Include random effects in starting parametersJohannes Ranke1-0/+3
- mean_degparms() now optionally returns starting values for fixed and random effects, which makes it possible to obtain acceptable fits also in more difficult cases (with more parameters) - Fix the anova method, as it is currently not enough to inherit from lme: https://bugs.r-project.org/bugzilla/show_bug.cgi?id=17761 - Show fit information, and per default also errmin information in plot.nlme.mmkin() - Examples for nlme.mmkin: Decrease tolerance and increase the number of iterations in the PNLS step in order to be able to fit FOMC-SFO and DFOP-SFO
2020-04-15A plot method for nlme.mmkin fitsJohannes Ranke1-0/+2
2020-04-14Add a nlme method for mmkin row objectsJohannes Ranke1-0/+2
2020-04-04Add three functions to facilitate the use of nlmeJohannes Ranke1-1/+3
2020-04-03Merge branch 'master' into mxkinJohannes Ranke1-0/+1
Merge DESCRIPTION manually to combine dependencies and rerun check to update check.log
2020-03-31Static documentation rebuilt by pkgdownJohannes Ranke1-0/+1
2020-03-30First nlme fits for models with a metaboliteJohannes Ranke1-0/+3
2019-11-13Calculate Akaike weightsJohannes Ranke1-0/+3
2019-11-13Likelihood ratio test for mmkin columns with two fitsJohannes Ranke1-0/+1
2019-11-09Add a lack-of-fit testJohannes Ranke1-0/+5
- Switch an example dataset in the test setup to a dataset with replicates, adapt tests - Skip the test for lrtest with an update specification as it does not only fail when pkgdown generates static help pages, but also in testthat
2019-11-04Scaled residual plotsJohannes Ranke1-0/+1
2019-11-01Fix bug in yesterdays release, add methods for BICJohannes Ranke1-0/+5
2019-10-31Add likelihood ratio test and other methods, fixesJohannes Ranke1-0/+7
The likelihood ratio test method is lrtest, in addition, methods for update and residuals were added.
2019-10-26Fix checks and testsJohannes Ranke1-0/+1
Static documentation rebuilt by pkgdown
2019-10-26parms and confint methodsJohannes Ranke1-0/+3
The confint method can do profile likelihood based confidence intervals!
2019-10-25Use roxygen for functions and methodsJohannes Ranke1-34/+72
2019-04-04Direct error model fitting worksJohannes Ranke1-3/+1
- No IRLS required - Removed optimization algorithms other than Port - Removed the dependency on FME - Fitting the error model 'obs' is much faster for the FOCUS_2006_D dataset and the FOMC_SFO model (1 second versus 3.4 seconds) - Vignettes build slower. Compiled models needs 3 minutes instead of 1.5 - For other vignettes, the trend is less clear. Some fits are faster, even for error_model = "const". FOCUS_Z is faster (34.9 s versus 44.1 s) - Standard errors and confidence intervals are slightly smaller - Removed code for plotting during the fit, as I hardly ever used it - Merged the two cost functions (using transformed and untransformed parameters) into one log-likelihood function
2019-02-22Implement the NAFTA evaluation schemeJohannes Ranke1-4/+12
2019-01-31Restore NAMESPACEJohannes Ranke1-4/+28
which was accidentally overwritten by pkgdown -> roxygen
2019-01-31Static documentation rebuilt by pkgdownJohannes Ranke1-28/+4
2019-01-31Export to CAKE study fileJohannes Ranke1-0/+1
2018-11-26Add AIC method for mmkin column objectsJohannes Ranke1-0/+1
Static documentation rebuilt by pkgdown
2018-11-23Fix namespace declarationJohannes Ranke1-1/+1
2018-11-23Static documentation rebuilt by pkgdownJohannes Ranke1-0/+1
2018-09-21Improve fitting the two-component error modelJohannes Ranke1-1/+2
with respect to accuracy and robustness.
2018-09-18Make mkinpredict generic and write a method for fitsJohannes Ranke1-0/+2
2016-12-07Use latex in plots when using tikzDeviceJohannes Ranke1-0/+1
2015-11-09Export print.mkinds and rebuild vignettesJohannes Ranke1-0/+1
2015-10-19Add the R6 class mkindsJohannes Ranke1-0/+1
2015-10-19Add a print method for mkinmod objectsJohannes Ranke1-0/+1

Contact - Imprint