Learn R Programming

mtk (version 1.0)

mtkNativeDesigner: The constructor of the class mtkNativeDesigner

Description

The constructor.

Usage

mtkNativeDesigner(design=NULL, X=NULL, information=NULL)

Arguments

design
NULL, an R function or a string to specify the method used to generate the experiments design.
X
NULL or a data.frame to load the experimental design produced off-line.
information
a named list to provide with supplementary information about the experimental design produced off-line or the parameters used by the designer.

Value

mtkNativeDesigner class

Details

We can construct an object of the mtkNativeDesigner class from the following situations:
  • the designer is provided within the package "mtk"The argument "design" takes a string giving the method used to generate the experimental design, and the argument "information" gives the list of parameters used by the designer. e.g. designer <- mtkNativeDesigner( design="Morris", information = list(nboot=20)).
  • the designer is provided with an R function implemented outside the package "mtk"The argument "design" takes the R function, the argument "information" may be used to give supplementary information about the R function.
  • the experimental design is produced off-line and available as a data.frameThe argument "design" is not used, the argument "X" takes the data.frame holding the available experimental design, and the argument "information" may be omitted or simply used to give supplementary information about the method used to generate the experimental design. e.g. Designer <- mtkNativeDesigner( X = mcDesign, information = list(sampling = "Monte-Carlo")).
For details uses, see examples from help(mtkNativeEvaluator).

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.

See Also

help(mtkNativeEvaluator)

Examples

Run this code
# Create a native designer with the method "Morris"
# implemented in the package "mtk"

designer <- mtkNativeDesigner(design="Morris", information=list(size=20))

Run the code above in your browser using DataLab