Fits linear, nonlinear, and userdefined 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, negativebinomial, and timetoevent/survival models include the exponential, Gompertz, RoystonParmar, 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. Nonlinear and timedependent effects are seamlessly incorporated into the predictor. 'merlin' allows multivariate normal random effects, which are integrated out using Gaussian quadrature or MonteCarlo integration. Note, 'merlin' is based on the 'Stata' package of the same name, described in Crowther (2018) <arXiv:1806.01615>.
Package details 


Author  Emma Martin [aut], Alessandro Gasparini [aut], Michael Crowther [aut, cre] 
Maintainer  Michael Crowther <[email protected]> 
License  GPL (>= 3) 
Version  0.0.1 
URL  https://www.mjcrowther.co.uk/software/merlin 
Package repository  View on CRAN 
Installation 
Install the latest version of this package by entering the following in R:

Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.