glmmAK.files2coda {glmmAK} | R Documentation

## Conversion of sampled values into coda mcmc objects

### Description

It takes the values sampled by `cumlogitRE` or `logpoissonRE` and stored in *.sim files and converts them into coda `mcmc` objects.

### Usage

    glmmAK.files2coda(dir, drandom=c("none", "normal", "gspline"),
       quiet=FALSE, skip=0,
       params=list(prob=FALSE, ecount=FALSE, b=FALSE, alloc=FALSE))

### Arguments

`dir` | character specifying a directory with sampled values
`drandom` | string specifying the distribution of random effects used in the original `cumlogitRE` or `logpoissonRE` call
`quiet` | logical, passed to `scan` function
`skip` | number of MCMC iterations that should be skipped at the beginning of the chain
`params` | a list of logical values specifying which of the optional sampled parameters should be read

### Value

A list of coda `mcmc` objects.

### Author(s)

Arnošt Komárek arnost.komarek[AT]mff.cuni.cz

### See Also

`mcmc`.

[Package glmmAK version 1.3-1 Index]