computeTimeRemaining: Estimate the remaining time in the MCMC based on previous...

View source: R/helper_functions.R

computeTimeRemainingR Documentation

Estimate the remaining time in the MCMC based on previous samples

Description

Estimate the remaining time in the MCMC based on previous samples

Usage

computeTimeRemaining(nsi, timer0, nsims, nrep = 1000)

Arguments

nsi

Current iteration

timer0

Initial timer value, returned from proc.time()[3]

nsims

Total number of simulations

nrep

Print the estimated time remaining every nrep iterations

Value

Table of summary statistics using the function summary


drkowal/rSTAR documentation built on July 5, 2023, 2:18 p.m.