Learn R Programming

glmmsr (version 0.2.3)

find_approximation_name: Find the name of the likelihood approximation used for fitting

Description

Find the name of the likelihood approximation used for fitting

Usage

find_approximation_name(method, control)

Arguments

method

the method used to approximate the likelihood. The options are "Laplace", "AGQ" (the adaptive Gaussian quadrature approximation, from lme4), "SR" (the sequential reduction approximation) and "IS" (an importance sampling approximation).

control

a list of extra parameters controlling the approximation to the likelihood. See 'Details' for more information.

Value

a string with the name of the likelihood approximation