CG_control {mcmcsae}R Documentation

Set options for the conjugate gradient (CG) sampler

Description

Set options for the conjugate gradient (CG) sampler

Usage

CG_control(
  max.it = NULL,
  stop.criterion = NULL,
  preconditioner = c("GMRF", "GMRF2", "GMRF3", "identity"),
  scale = 1,
  chol.control = chol_control(),
  verbose = FALSE
)

Arguments

max.it

maximum number of CG iterations.

stop.criterion

total squared error stop criterion for the CG algorithm.

preconditioner

one of "GMRF", "GMRF2", "GMRF3" and "identity".

scale

scale parameter; only used by the "GMRF3" preconditioner.

chol.control

options for Cholesky decomposition, see chol_control.

verbose

whether diagnostic information about the CG sampler is shown.

Value

A list of options used by the conjugate gradients algorithm.


[Package mcmcsae version 0.7.7 Index]