View source: R/simulate-functions.R
| simulateAccount | R Documentation | 
WARNING - THIS FUNCTION IS STILL UNDER DEVELOPMENT
simulateAccount(
  account,
  systemModels,
  datasets = list(),
  dataModels = list(),
  concordances = list(),
  weights = list(),
  dominant = c("Female", "Male"),
  usePriorPopn = TRUE,
  updateSystemModel = NULL,
  updateDataModel = NULL,
  updateInitialPopn = TRUE,
  probSmallUpdate = 0,
  scaleNoise = 0,
  filename = NULL,
  nBurnin = 1000,
  nSim = 1000,
  nChain = 4,
  nThin = 1,
  parallel = TRUE,
  nCore = NULL,
  outfile = NULL,
  nUpdateMax = 50,
  verbose = TRUE,
  useC = TRUE
)
account | 
 An object of class
  | 
systemModels | 
 A list of objects of class
  | 
datasets | 
 A named list of objects of class
  | 
dataModels | 
 A list of objects of class
  | 
concordances | 
 A named list of
  | 
weights | 
 A named list of
  | 
dominant | 
 Either   | 
usePriorPopn | 
 Whether to take account of the prior model
for population when inferring values for the account.
Defaults to   | 
updateSystemModel | 
 Names of any system models containing parameters that need to be estimated (as oppsed to simply drawn from the prior distribution) as part of the simulation.  | 
updateDataModel | 
 Names of any data models containing parameters that need to be estimated (as oppsed to simply drawn from the prior distribution) as part of the simulation.  | 
updateInitialPopn | 
 If   | 
probSmallUpdate | 
 Proportion of updates of components that are 'small', ie that only consist of exchanging values between two neighbouring Lexis triangles.  | 
scaleNoise | 
 Governs noise added to Metropolis-Hastings ratio. Should be non-zero only when trying to generate initial values. Currently experimental, and may change.  | 
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.  | 
nChain | 
 Number of independent chains to use.  | 
nThin | 
 Thinning interval.  | 
parallel | 
 Logical.  If   | 
nCore | 
 The number of cores to use, when   | 
outfile | 
 Where to direct the ‘stdout’ and ‘stderr’ connection
output from the workers when parallel processing.  Passed to function
  | 
nUpdateMax | 
 Maximum number of iterations completed before releasing memory. If running out of memory, setting a lower value than the default may help.  | 
verbose | 
 Logical.  If   | 
useC | 
 Logical.  If   | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.