Description Class Hierarchy Constructor Slots Methods References See Also Examples
The mtkFastDesigner class is a sub-class of the class mtkDesigner. It implements the sampling method Fast and provides all the slots and methods defined in the class mtkDesigner.
mtkDesigner
mtkFastDesignersignature(mtkParameters = NULL, listParameters = NULL)
name:(character) always takes the string "design".
protocol:(character) always takes the string "R".
site:(character) always takes the string "mtk".
service:(character) always takes the string "Fast".
parameters:(vector) a vector of [mtkParameter] containing the parameters to pass while calling the service.
ready:(logical) a logical to tell if the process is ready to run.
state:(logical) a logical to tell if the results produced by the process are available and ready to be consumed.
result:(ANY) a data holder to hold the results produced by the process
setNamesignature(this = "mtkFastDesigner", name = "character"): Not used, method inherited from the parent class.
setParameterssignature(this = "mtkFastDesigner", f = "vector"): Assigns new parameters to the process.
getParameterssignature(this = "mtkFastDesigner"): Returns the parameters as a named list.
is.readysignature( = "mtkFastDesigner"): Tests if the process is ready to run.
setReadysignature(this = "mtkFastDesigner", switch = "logical"): Makes the process ready to run.
is.readysignature( = "mtkFastDesigner"): Tests if the results produced by the process are available.
setReadysignature(this = "mtkFastDesigner", switch = "logical"): Marks the process as already executed.
getResultsignature(this = "mtkFastDesigner"): Returns the results produced by the process as a [mtkDesignerResult].
getDatasignature(this = "mtkFastDesigner"): Returns the results produced by the process as a data.frame.
serializeOnsignature(this = "mtkFastDesigner"): Returns all data managed by the process as a named list.
runsignature(this = "mtkFastDesigner", context= "mtkExpWorkflow"): Generates the experimental design by sampling the factors.
summarysignature(object = "mtkFastDesigner"): Provides a summary of the results produced by the process.
printsignature(x = "mtkFastDesigner"): Prints a report of the results produced by the process.
plotsignature(x = "mtkFastDesigner"): Plots the results produced by the process.
reportsignature(this = "mtkFastDesigner"): Reports the results produced by the process.
A. Saltelli, K. Chan and E. M. Scott (2000). Sensitivity Analysis. Wiley, New York.
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.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 | ## Sensitivity analysis of the "Ishigami" model with the "Fast" method
# Input the factors
data(Ishigami.factors)
# Build the processes and workflow:
# 1) the design process
exp1.designer <- mtkFastDesigner(listParameters
= list(n=1000))
# 2) the simulation process
exp1.evaluator <- mtkNativeEvaluator(model="Ishigami")
# 3) the analysis process
exp1.analyser <- mtkFastAnalyser()
# 4) the workflow
exp1 <- mtkExpWorkflow(expFactors=Ishigami.factors,
processesVector = c(design=exp1.designer,
evaluate=exp1.evaluator, analyze=exp1.analyser))
# Run the workflow and reports the results.
run(exp1)
print(exp1)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.