[][src]Module mcmc::utils

Convenience utilities like chain splitting and certain helper functions intended mostly for internal use to avoid external dependencies (e.g. summary statistics and lightweight CSV reading)

Functions

read_csv

Simplified CSV reader for tesing purposes only; does not actually implement parsing for headers, quotation, or other more advanced features. Assumes that all values aside from the commas will be numeric.

split_chains

Splits each chain into two chains of equal length. When the number of total draws N is odd, the (N+1)/2th draw is ignored.