boa.chain.import(boa)R Documentation

Import MCMC Sequence


Reads an MCMC sequence from an external file and adds it to the session lists of sequences.


boa.chain.import(prefix, path = boa.par("path"), type = "ASCII")


prefix Character string giving the prefix for the file(s) in which the MCMC sequence is stored.
path Character string giving the directory path in which the file(s) subsides.
type Character string specifying the type of data to be imported. Currently, the supported types are:
  • "ASCII" : ASCII text file. Calls boa.importASCII to import data from "prefix.txt".
  • "BUGS" : BUGS output files. Calls boa.importBUGS to import data from "prefix.ind" and "prefix.out".
  • "S" : S data frame or matrix.


A logical value indicating that the specified file(s) has been successfully imported.

Side Effects

The imported MCMC sequence is automatically added to the session lists of sequences via a call to boa.chain.add.


Brian J. Smith

See Also

boa.chain.add, boa.importASCII, boa.importBUGS

[Package boa version 1.1.5-3 Index]