continueSimulation: Add extra iterations to simulation

View source: R/simulate-functions.R

continueSimulationR Documentation

Add extra iterations to simulation

Description

WARNING - THIS FUNCTION IS STILL UNDER DEVELOPMENT

Usage

continueSimulation(
  filename,
  nBurnin = NULL,
  nSim = 1000,
  nThin = NULL,
  parallel = NULL,
  scaleNoise = 0,
  outfile = NULL,
  verbose = FALSE,
  useC = TRUE
)

Arguments

filename

The name of a file where output is collected.

nBurnin

Number of iteration discarded before recording begins.

nSim

Number of iterations carried out during recording.

nThin

Thinning interval.

parallel

Logical. If TRUE (the default), parallel processing is used.

scaleNoise

Governs noise added to Metropolis-Hastings ratio when updating accounts. Should only be used non-zero when generating initial values. Currently experimental, and may change.

outfile

Where to direct the ‘stdout’ and ‘stderr’ connection output from the workers when parallel processing. Passed to function [parallel]{makeCluster}.

verbose

Logical. If TRUE (the default) a message is printed at the end of the calculations.

useC

Logical. If TRUE (the default), the calculations are done in C. Setting useC to FALSE may be useful for debugging.


StatisticsNZ/demest documentation built on Nov. 2, 2023, 7:56 p.m.