Learn R Programming

mtk (version 1.0)

mtkProcess: The constructor of the mtkProcess class

Description

The constructor

Usage

mtkProcess( name, protocol = "R", site = "mtk", service = "", parameters = NULL, ready = FALSE, state = FALSE, result = NULL )

Arguments

name
the processing step associated with this process. It may be "design", "evaluate", or "analyze".
protocol
a string from "http", "system", "R" respectively representing if the process is implemented remotety, locally or as R function.
site
the site where the process is implemented if remotely or the package where the process is implemented if as a R function.
service
the service name or a system call that implements the process.
parameters
a vector of [mtkParameter] representing the parameters necessary to run the process.
ready
a logical to indicate if the process is ready to run.
state
a logical to indicate if the process finished running and the results are available.
result
an object of a class derived from [mtkResult] to hold the results produced by the process.

Value

mtkProcess class

Details

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), .

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

Run this code
# see examples with help(mtkNativeDesigner)

Run the code above in your browser using DataLab