merlin: Mixed Effects Regression for Linear, Non-Linear and User-Defined Models

Fits linear, non-linear, and user-defined mixed effects regression models following the framework developed by Crowther (2017) <arXiv:1710.02223>. 'merlin' can fit multivariate outcome models of any type, each of which could be repeatedly measured (longitudinal), with any number of levels, and with any number of random effects at each level. Standard distributions/models available include the Bernoulli, Gaussian, Poisson, beta, negative-binomial, and time-to-event/survival models include the exponential, Gompertz, Royston-Parmar, Weibull and general hazard model. 'merlin' provides a flexible predictor syntax, allowing the user to define variables, random effects, spline and fractional polynomial functions, functions of other outcome models, and any interaction between each of them. Non-linear and time-dependent effects are seamlessly incorporated into the predictor. 'merlin' allows multivariate normal random effects, which are integrated out using Gaussian quadrature or Monte-Carlo integration. Note, 'merlin' is based on the 'Stata' package of the same name, described in Crowther (2018) <arXiv:1806.01615>.

Version: 0.1.0
Depends: R (≥ 2.10)
Imports: MASS, randtoolbox, statmod, stats, survival, tools
Suggests: knitr, nlme, rmarkdown, testthat
Published: 2020-06-29
Author: Emma Martin [aut], Alessandro Gasparini [aut], Michael Crowther [aut, cre]
Maintainer: Michael Crowther <michael.crowther at le.ac.uk>
License: GPL (≥ 3)
URL: https://www.mjcrowther.co.uk/software/merlin
NeedsCompilation: no
Language: en_GB
Materials: NEWS
CRAN checks: merlin results

Documentation:

Reference manual: merlin.pdf
Vignettes: merlin

Downloads:

Package source: merlin_0.1.0.tar.gz
Windows binaries: r-devel: merlin_0.1.0.zip, r-release: merlin_0.1.0.zip, r-oldrel: merlin_0.1.0.zip
macOS binaries: r-release (arm64): merlin_0.1.0.tgz, r-oldrel (arm64): merlin_0.1.0.tgz, r-release (x86_64): merlin_0.1.0.tgz, r-oldrel (x86_64): merlin_0.1.0.tgz
Old sources: merlin archive

Linking:

Please use the canonical form https://CRAN.R-project.org/package=merlin to link to this page.