Description Class Hierarchy Constructor Slots Methods Details Author(s) References Examples
The mtkProcess is a class to represent the processes managed within the workflow. It provides
a generic mechanism for conceptualizing the common behavior of the processes used in experimental design, model simulation and sensitivity analysis.
mtkDesigner,mtkEvaluator, mtkAnalyser
mtkProcesssignature(name, protocol = "R", site = "mtk", service = "", parameters = NULL, ready = FALSE, state = FALSE, result = NULL)
name:(character) a string to name the step of the analysis: "design", "evaluate" or "analyze".
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: "mtk", URI, etc.
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 keep the results produced by the process
setNamesignature(this = "mtkProcess", name = "character"): Gives a name to the process.
getNamesignature(this = "mtkProcess"): Returns the name of the process.
setParameterssignature(this = "mtkProcess", f = "vector"): Assigns new parameters to the process.
getParameterssignature(this = "mtkProcess"): Returns the parameters as a named list.
is.readysignature(this = "mtkProcess"): Tests if the process is ready to run.
setReadysignature(this = "mtkProcess", switch = "logical"): Makes the process ready to run.
is.readysignature( = "mtkProcess"): Tests if the results produced by the process are available.
setReadysignature(this = "mtkProcess", state = "logical"): Marks the process as already executed.
getResultsignature(this = "mtkProcess"): Returns the results produced by the process as a mtkResult.
getDatasignature(this = "mtkProcess") : Returns the results produced by the process as a data frame.
serializeOnsignature(this = "mtkProcess"): Returns all data managed by the process as a named list.
runsignature(this = "mtkProcess", context= "mtkExpWorkflow"): Runs the process.
summarysignature(object = "mtkProcess", ...): Displays a summary of the results produced by the process.
printsignature(x = "mtkProcess"): Prints a report of the results produced by the process.
plotsignature(x = "mtkProcess", y, ... ): Plots the results produced by the process.
reportsignature(this = "mtkProcess"): Reports the results produced by the process.
The mtkProcess class is a virtual class to manage the generic properties of processes involved in the "mtk" package.
For details uses, see examples from help(mtkNativeDesigner), help(mtkNativeEvaluator), help(mtkNativeAnalyser), .
Juhui WANG, MIA-Jouy, Inra, Juhui.Wang@jouy.inra.fr
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 | # see examples with help(mtkNativeDesigner)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.