kurtis-s / overture
Showing 1 of 3 files from the diff.
Newly tracked file
R/mcmc.R changed.
Other files ignored by Codecov

@@ -334,8 +334,21 @@
Loading
334 334
335 335
#' Resumes an interrupted file-backed MCMC
336 336
#'
337 -
#' @param backing.path directory path where MCMC samples were saved
337 +
#' \code{Resume} will finish a file-backed MCMC that was interrupted.  To resume
338 +
#' an MCMC run, specify the MCMC's backing path and the sampling will continue
339 +
#' from the last completed sample in the chain.  Note, however, that the random
340 +
#' number generator state from when the MCMC was interrupted is \emph{not}
341 +
#' restored, so the resulting chain my not be reproducible, even if a seed was
342 +
#' specified before the sampling was interrupted.
343 +
#'
344 +
#' @param backing.path directory path where the (partially completed) MCMC
345 +
#'   samples were saved
346 +
#' @return A list of either \code{\link{matrix}} or \code{\link{big.matrix}}
347 +
#'   with the MCMC samples.  Each row in the matrices corresponds to one sample
348 +
#'   from the MCMC chain.
349 +
#' @example examples/example-Resume.R
338 350
#' @export
351 +
#' @seealso \code{\link{InitMcmc}}
339 352
Resume <- function(backing.path) {
340 353
    samps <- LoadMcmc(backing.path)
341 354
    first.miss.idxs <- FirstMissIdxs(samps)
Files Coverage
R 98.14%
Project Totals (2 files) 98.14%
1
comment: false
2

3
coverage:
4
  status:
5
    project:
6
      default:
7
        target: auto
8
        threshold: 1%
9
    patch:
10
      default:
11
        target: auto
12
        threshold: 1%
Sunburst
The inner-most circle is the entire project, moving away from the center are folders then, finally, a single file. The size and color of each slice is representing the number of statements and the coverage, respectively.
Icicle
The top section represents the entire project. Proceeding with folders and finally individual files. The size and color of each slice is representing the number of statements and the coverage, respectively.
Grid
Each block represents a single file in the project. The size and color of each block is represented by the number of statements and the coverage, respectively.
Loading