Examples: visualization, C++, networks, data cleaning, html widgets, ropensci.

Found 9396 packages in 0.02 seconds

glmmTMB — by Mollie Brooks, 2 months ago

Generalized Linear Mixed Models using Template Model Builder

Fit linear and generalized linear mixed models with various extensions, including zero-inflation. The models are fitted using maximum likelihood estimation via 'TMB' (Template Model Builder). Random effects are assumed to be Gaussian on the scale of the linear predictor and are integrated out using the Laplace approximation. Gradients are calculated using automatic differentiation.

lme4 — by Ben Bolker, a month ago

Linear Mixed-Effects Models using 'Eigen' and S4

Fit linear and generalized linear mixed-effects models. The models and their components are represented using S4 classes and methods. The core computational algorithms are implemented using the 'Eigen' C++ library for numerical linear algebra and 'RcppEigen' "glue".

broom.mixed — by Ben Bolker, 9 months ago

Tidying Methods for Mixed Models

Convert fitted objects from various R mixed-model packages into tidy data frames along the lines of the 'broom' package. The package provides three S3 generics for each model: tidy(), which summarizes a model's statistical findings such as coefficients of a regression; augment(), which adds columns to the original data such as predictions, residuals and cluster assignments; and glance(), which provides a one-row summary of model-level statistics.

nlme — by R Core Team, 22 days ago

Linear and Nonlinear Mixed Effects Models

Fit and compare Gaussian linear and nonlinear mixed-effects models.

MCMCglmm — by Jarrod Hadfield, 3 years ago

MCMC Generalised Linear Mixed Models

Fits Multivariate Generalised Linear Mixed Models (and related models) using Markov chain Monte Carlo techniques (Hadfield 2010 J. Stat. Soft.).

pbkrtest — by Søren Højsgaard, a year ago

Parametric Bootstrap, Kenward-Roger and Satterthwaite Based Methods for Test in Mixed Models

Computes p-values based on (a) Satterthwaite or Kenward-Rogers degree of freedom methods and (b) parametric bootstrap for mixed effects models as implemented in the 'lme4' package. Implements parametric bootstrap test for generalized linear mixed models as implemented in 'lme4' and generalized linear models. The package is documented in the paper by Halekoh and Højsgaard, (2012, ). Please see 'citation("pbkrtest")' for citation details.

gamm4 — by Simon Wood, 4 months ago

Generalized Additive Mixed Models using 'mgcv' and 'lme4'

Estimate generalized additive mixed models via a version of function gamm() from 'mgcv', using 'lme4' for estimation.

mmrm — by Daniel Sabanes Bove, 2 months ago

Mixed Models for Repeated Measures

Mixed models for repeated measures (MMRM) are a popular choice for analyzing longitudinal continuous outcomes in randomized clinical trials and beyond; see Cnaan, Laird and Slasor (1997) for a tutorial and Mallinckrodt, Lane, Schnell, Peng and Mancuso (2008) for a review. This package implements MMRM based on the marginal linear model without random effects using Template Model Builder ('TMB') which enables fast and robust model fitting. Users can specify a variety of covariance matrices, weight observations, fit models with restricted or standard maximum likelihood inference, perform hypothesis testing with Satterthwaite or Kenward-Roger adjustment, and extract least square means estimates by using 'emmeans'.

lmerTest — by Rune Haubo Bojesen Christensen, 9 months ago

Tests in Linear Mixed Effects Models

Provides p-values in type I, II or III anova and summary tables for lmer model fits (cf. lme4) via Satterthwaite's degrees of freedom method. A Kenward-Roger method is also available via the pbkrtest package. Model selection methods include step, drop1 and anova-like tables for random effects (ranova). Methods for Least-Square means (LS-means) and tests of linear contrasts of fixed effects are also available.

sommer — by Giovanny Covarrubias-Pazaran, 8 days ago

Solving Mixed Model Equations in R

Fits generalized linear and non linear mixed models with flexible covariance structures for multiple random effects. Supports structured random-effect and Gaussian residual covariances, including unstructured, autoregressive, spatial, factor-analytic and reduced-rank models. These structures can be combined using Kronecker products and user-defined covariance functions. Known relationships among random-effect levels, including pedigree and genomic relationship matrices, can be incorporated. Gaussian models are fitted by maximum likelihood or restricted maximum likelihood using complementary coefficient-space Henderson and observation-space direct-inversion engines, with average-information optimization and expectation-maximization recovery. Numerical methods include sparse matrix factorization, preconditioned iterative solvers and stochastic trace and log-determinant approximations for eligible large-scale problems. Generalized models are fitted by penalized quasi-likelihood or native Laplace-approximated maximum likelihood, including joint models of responses from different families linked through shared random effects. Provides prediction, uncertainty quantification and inference tools for applications including quantitative genetics, genomic prediction, multi-environment trials and spatial analysis (Covarrubias-Pazaran, 2016 ; Maier et al., 2015 ; Jensen et al., 1997).