mtkEvaluator classmtkEvaluator class is a sub-class of the class mtkProcess used to manage
the model simulation. It provides all the slots and methods defined in the class mtkProcess.
mtkProcessmtkNativeEvaluator,mtkWWDMEvaluator, etc.name:character) always takes the string "evaluate".protocol:character) a string to name the protocol used to run the process: http, system, R, etc.site:character) a string to indicate where the service is located.service:character) a string to name the service to invoke.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 processsetNamesetParametersgetParametersis.readysetReadyis.readysetReadygetResultmtkEvaluatorResult].getDataserializeOnrunsummaryprintplotreportmtk, 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.# Create an evaluator with the model "Ishigami"
# implemented in the package "mtk".
evaluator1 <- mtkEvaluator(service="Ishigami")
# Create an evaluator with the model "WWDM"
# implemented in the package "mtk"
evaluator2 <- mtkEvaluator(service="WWDM",
parametersList=list(year=3, tout=FALSE))
Run the code above in your browser using DataLab