Extend.R2GUESS: Extends an already finished 'R2GUESS' run for an extra...

Description Usage Arguments Details Value Author(s) See Also Examples

View source: R/Extend.R2GUESS.R

Description

The Extend.R2GUESS extends an already finished R2GUESS run.

Usage

1
  Extend.R2GUESS(x, niter, time.limit=NULL)

Arguments

x

an object of class ESS.

niter

integer specifying the number of additional sweeps to run the model for.

time.limit

numeric representing the maximum computation time (in hours) allowed for extending the run. By default (NULL), the run will continue until completion.

Details

The Extend.R2GUESS extends an already finished R2GUESS run for an additional niter sweeps. Results from these extra iterations will be appended to the existing history files, and posterior calculations (MPPI, MPP, and the list of best models) will be entirely updated. These additional iterations will use the same pseudo-random number generator as the one used for the initial run, and will initialise it at the state it was while finishing the original run. If the previous run was interrupted before reaching the user-defined time.limit, Extend.R2GUESS will return an error message.

Value

An object of class ESS whose fields are detailed in as.ESS.object, and which contains results from the additional sweeps.

Author(s)

Benoit Liquet, b.liquet@uq.edu.au,
Marc Chadeau-Hyam m.chadeau@imperial.ac.uk,
Leonardo Bottolo l.bottolo@imperial.ac.uk,
Gianluca Campanella g.campanella11@imperial.ac.uk

See Also

Resume.R2GUESS, Postprocess.R2GUESS, as.ESS.object

Examples

1
2
3
4
5
6
7
8
9
## Not run: 
modelY_Hopx <- example.as.ESS.object()
## Be careful the Output files will be created in modelY_Hopx$path.output
## If you want to save the new Ouput copy/paste the 
## folder modelY_Hopx$out in an appropriate place
## and change modelY_Hopx$path.output
modelY_Hopx_extend <- Extend.R2GUESS(modelY_Hopx,100)

## End(Not run)

R2GUESS documentation built on May 2, 2019, 1:47 p.m.