R/mice_1chain_check_input.R

Defines functions mice_1chain_check_input

## File Name: mice_1chain_check_input.R
## File Version: 0.03

mice_1chain_check_input <- function(burnin, iter, Nimp)
{
    if (burnin <=0){
        burnin <- 1
    }
    if (iter <=burnin + Nimp ){
        iter <- burnin + Nimp
    }
    #--- output
    res <- list( burnin=burnin, iter=iter, Nimp=Nimp)
    return(res)
}

Try the miceadds package in your browser

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

miceadds documentation built on May 29, 2024, 11:05 a.m.