Has an analysis converged?

HasConverged(
  pID,
  scriptID,
  pt = .config$psrfThreshold,
  et = .config$essThreshold
)

Arguments

pID

Character specifying the project identifier to analyse

scriptID

Character specifying the script to run

pt

Gelman-Rubin statistic (potential scale reduction factor) threshold; analyses with PSRF > pt have not converged.

et

Estimated sample size threshold; analyses with ESS < et have not converged.

Value

HasConverged() returns a logical specifying whether the specified analysis has converged at the specified thresholds.