Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

extract-merMod-method

extract method for merMod objects


Description

extract method for merMod objects created by the lme4 package.

Usage

## S4 method for signature 'merMod'
extract(
  model,
  method = c("naive", "profile", "boot", "Wald"),
  level = 0.95,
  nsim = 1000,
  include.aic = TRUE,
  include.bic = TRUE,
  include.dic = FALSE,
  include.deviance = FALSE,
  include.loglik = TRUE,
  include.nobs = TRUE,
  include.groups = TRUE,
  include.variance = TRUE,
  ...
)

Arguments

model

A statistical model object.

method

The method used to compute confidence intervals or p-values. The default value "naive" computes naive p-values while the other methods compute confidence intervals using the confint function. See confint.merMod.

level

Significance or confidence level (1 - alpha) for computing confidence intervals.

nsim

The MCMC sample size or number of bootstrapping replications on the basis of which confidence intervals are computed (only if the method argument does not specify "naive", which is the default behavior). Note: large values may take considerable computing time.

include.aic

Report Akaike's Information Criterion (AIC) in the GOF block?

include.bic

Report the Bayesian Information Criterion (BIC) in the GOF block?

include.dic

Report the deviance information criterion (DIC)?

include.deviance

Report the deviance?

include.loglik

Report the log likelihood in the GOF block?

include.nobs

Report the number of observations in the GOF block?

include.groups

Report the number of groups?

include.variance

Report group variances?

...

Arguments to be passed to the fixef function in the lme4 package.


texreg

Conversion of R Regression Output to LaTeX or HTML Tables

v1.37.5
GPL-3
Authors
Philip Leifeld [aut, cre], Claudia Zucca [ctb]
Initial release
2020-06-17

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.