ccFun: Convergence Criteria Checks for REML.

View source: R/convChks.R

ccFunR Documentation

Convergence Criteria Checks for REML.

Description

Determine whether the optimization has converged on a maximum of the log-likelihood function

Usage

ccFun(obj = NULL)

ccFun1(obj = NULL)

ccFun2(obj = NULL)

ccFun3(obj = NULL)

ccFun4(obj = NULL)

Arguments

obj

Optional gremlin model object. If NULL then the necessary variables are taken from the parent environment, if present

Value

A logical value whether the current REML iteration has passed the convergence criteria

Author(s)

matthewwolak@gmail.com

References

Meyer, K. 2019. WOMBAT A program for mixed model analyses by restricted maximum likelihood. User Notes. 27 September 2019.

Examples

  grS2 <- gremlinR(WWG11 ~ sex, random = ~ sire, data = Mrode11, maxit = 2)
    ccFun1(grS2)
    ccFun2(grS2)
  grS <- gremlinR(WWG11 ~ sex, random = ~ sire, data = Mrode11)
    ccFun(grS)


matthewwolak/gremlin documentation built on Nov. 12, 2024, 10:56 a.m.