mtkExperiment: The constructor of the class 'mtkExperiment'

Description Usage Arguments Value Author(s) References Examples

Description

A simple way to build a workflow for interactive use.

Usage

1
2
3
4
5
mtkExperiment(expFactors, 
		design=NULL, designInfo=NULL,
		model=NULL, modelInfo=NULL,
		analyze=NULL, analyzeInfo=NULL,
		XY=NULL)

Arguments

expFactors

(mtkExpFactors) an object of the mtkExpFactors class.

design

(NULL or character) the name of the method used to build the experiment design. NULL means that the experiment design is produced off-line and should be imported through the parameter XY$X.

designInfo

(list) a named list to specify the parameters used to generate the experiments design.

model

(NULL or character) the name of the model to simulate. NULL means that the simulation is produced off-line and should be imported through the parameter XY$Y.

modelInfo

(list) a named list to specify the parameters used to manage the model simulation.

analyze

(NULL or character) the name of the method used to compute the sensitivity index.

analyzeInfo

(list) a named list to specify the parameters used to carry out the analyses.

XY

(NULL or list) a named list with two elements X and Y: X allows importing the experiment design produced off-line and Y allows importing the model simulation produced off-line.

Value

an object of the mtkExperiment class

Author(s)

Juhui WANG, MIA-Jouy, Inra, Juhui.Wang@jouy.inra.fr

References

J. Wang, H. Richard, R. Faivre, H. Monod (2013). Le package mtk, une bibliothèque R pour l'exploration numérique des modèles. In: Analyse de sensibilité et exploration de modèles : Application aux sciences de la nature et de l'environnement (R. Faivre, B. Iooss, S. Mahévas, D. Makowski, H. Monod, Eds). Editions Quae, Versailles.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
# Compute the sensitivity index with the method "Regression"
# over the model "Ishigami" according to an experiment design
# generated with the method "BasicMonteCarlo"

	x1 <- make.mtkFactor(name="x1", distribName="unif",
		 distribPara=list(min=-pi, max=pi))
	x2 <- make.mtkFactor(name="x2", distribName="unif",
     	distribPara=list(min=-pi, max=pi))
	x3 <- make.mtkFactor(name="x3", distribName="unif", 
    	 distribPara=list(min=-pi, max=pi))
	ishi.factors <- mtkExpFactors(list(x1,x2,x3))

	ishiReg <- mtkExperiment(expFactors=ishi.factors,
		design="BasicMonteCarlo", designInfo=list(size=20),
		model="Ishigami", 
		analyze="Regression", analyzeInfo=list(nboot=20))
			
	run(ishiReg)
	summary(ishiReg)

mtk documentation built on May 2, 2019, 4:15 a.m.