R/get_convergence.R

Defines functions get_convergence

## Get convergence. The criteria from the model is not enough
get_convergence <- function(x) {
    convergence <- x$convInfo$isConv
    ans <- 2
    if(convergence==TRUE) ans <- 1
    return(ans)
}

Try the drLumi package in your browser

Any scripts or data that you put into this service are public.

drLumi documentation built on May 2, 2019, 2:45 p.m.