Postprocess.R2GUESS: Performs posterior inference from an interrupted 'R2GUESS'...

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

View source: R/Postprocess.R2GUESS.R

Description

The Postprocess.R2GUESS function calculates the MPPI, the MPP and lists the best models visited based on a previous run which has been interrupted due to computing time exceeding the user-defined limit.

Usage

1

Arguments

x

an object of class ESS.

Details

The Postprocess.R2GUESS function calculates the MPPI, the MPP and lists the best models visited based on a previous run which has been interrupted due to computing time exceeding the user-defined limit. This function is used to explore results from a run which has been interrupted and provides intermediate posterior inference for the MPPI, MPP, and list of best visited models.

Value

An object of class ESS whose fields are detailed in as.ESS.object.

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, Extend.R2GUESS, as.ESS.object

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
## Not run: 
## First we are creating a run which has been not finished in 1 hour
path.input <- system.file("Input", package="R2GUESS")
path.output <- tempdir()
path.par <- system.file("extdata", package="R2GUESS")
file.par.Hopx <- "Par_file_example_Hopx.xml"
print(paste(path.par,file.par.Hopx,sep=""))
root.file.output.Hopx <- "Example-GUESS-Y-Hopx"
label.Y <- c("ADR","Fat","Heart","Kidney")
data(data.Y.Hopx)
data(data.X)
data(MAP.file)

modelY_Hopx<-R2GUESS(dataY=data.Y.Hopx,dataX=data.X,,choice.Y=1:4,
label.Y=label.Y,MAP.file=MAP.file,file.par=file.par.Hopx,
file.init=NULL,file.log=NULL,root.file.output=root.file.output.Hopx,
path.input=path.input,path.output=path.output,path.par=path.par,
path.init=NULL,nsweep=510000,burn.in=10000,Egam=5,Sgam=5,top=100,
history=TRUE,time=TRUE,nb.chain=3,conf=0,cuda=FALSE,time.limit=1)

modelY_Hopx_postprocess <- Postprocess.R2GUESS(modelY_Hopx)


## End(Not run)

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