This function assumes that each supplied RDS file contains a matrix
of model MCMC parameters, with an attribute called "beta" that
lists the temperature of each row.
Usage
gatherSample(files, beta = 1, size = NA)
Arguments
- files
a list of file names
- beta
the inverse temperture to extract sample for
- size
a size the is smaller than the actual sample size, if
left unchanged, all sampled points are returned
Value
a matrix of sampled points, all with the same temperature
Details
This function selects and collects all rows, from all files with
the same (given) temperature.