Learn R Programming

mtk (version 1.0)

mtkMorrisDesigner: The constructor of the class mtkMorrisDesigner

Description

The constructor

Usage

mtkMorrisDesigner(mtkParameters = NULL, listParameters = NULL)

Arguments

mtkParameters
a vector of [mtkParameter] representing the parameters necessary to run the process.
listParameters
a named list containing the parameters to pass while calling the process. This gives another way to specify the parameters.

Value

mtkMorrisDesigner class

References

  1. Campolongo, F., J. Cariboni, and A. Saltelli (2007). An effective screening design for sensitivity analysis of large models. Environmental Modelling and Software, 22, 1509–1518.
  2. A. Saltelli, K. Chan and E. M. Scott (2000). Sensitivity Analysis. Wiley, New York

See Also

help(morris, sensitivity) and help(Morris)

Examples

Run this code

## Sensitivity analysis of the "Ishigami" model with the "Morris" method 


#	Generate the factors
		data(Ishigami.factors)
		
# 	Build the processes and workflow:

#   1) the design process
		exp1.designer <- mtkMorrisDesigner( listParameters
	    	= list(r=20, type="oat", levels=4, grid.jump=2)) 

#   2) the simulation process
		exp1.evaluator <- mtkNativeEvaluator(model="Ishigami") 

#   3) the analysis process 
		exp1.analyser <- mtkMorrisAnalyser()

#   4) the workflow

		exp1 <- mtkExpWorkflow(expFactors=Ishigami.factors,
	    processesVector = c(design=exp1.designer,
		evaluate=exp1.evaluator, analyze=exp1.analyser))

# 	Run the workflow and report the results.
		run(exp1)
		print(exp1)
		

Run the code above in your browser using DataLab