Learn R Programming

texreg (version 1.39.4)

extract,lmerMod-method: extract method for lmerMod objects

Description

extract method for lmerMod objects created by the lmer function in the lme4 package.

Usage

# S4 method for lmerMod
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.