R/mcmc_extract_samples_first_chain.R

Defines functions mcmc_extract_samples_first_chain

## File Name: mcmc_extract_samples_first_chain.R
## File Version: 0.04

mcmc_extract_samples_first_chain <- function(mcmcobj)
{
    if ( ! is.matrix(mcmcobj) ){
        dat.bugs <- mcmcobj[[1]]
    } else {
        dat.bugs <- mcmcobj
    }
    return(dat.bugs)
}
alexanderrobitzsch/sirt documentation built on Sept. 8, 2024, 2:45 a.m.