simplexExport {labsimplex} | R Documentation |
Exports the information contained in an object of class smplx
.
Description
Creates a text file with extension .smplx
that contains the complete
information contained in a simplex (an object with class smplx
,
see labsimplex
). This file allows the continuation of an
optimization proccess when the experiments take too long and multiple
R
sessions are required. The file produced is also useful to share
the information of the optimization process. The exported simplex can be
later imported with simplexImport
.
Usage
simplexExport(simplex, filename = NULL, direc = NULL)
Arguments
simplex |
object of class |
filename |
string with the name (without extention) of the file that will be created. If not provided, the name of the simplex object is used. |
direc |
directory in which the file will be saved. If not provided, the current working directory is used. |
Value
Generates a .smplx
file containing all the information
required to continue with the optimization process after the
experiments have been carried.
Author(s)
Cristhian Paredes, craparedesca@unal.edu.co
Jesús Ágreda, jagreda@unal.edu.co
See Also
Examples
simplex <- labsimplex(n = 5)
simplexExport(simplex = simplex)