chain.read {tripEstimation}R Documentation

Manage MCMC cache.

Description

These functions read and write to cache files for storing long MCMC outputs from model functions, such as solar.model or satellite.model.

Usage

chain.read(filename)
chain.dim(filename)
chain.write(filename, A, append = FALSE)

Arguments

filename

cache file for model chain

A

chain array

append

append to existing file or overwrite?

Value

chain.read returns the actual array of MCMC samples from an archived file

chain.dim reports the dimensions of the archived file

chain.write writes an array of MCMC samples to an archive file

Author(s)

Michael D. Sumner and Simon Wotherspoon

See Also

pimg.list


[Package tripEstimation version 0.0-46 Index]