powered by
WriteOptpar prints a HYPE parameter optimization list to a file.
WriteOptpar
WriteOptpar(x, filename, digits = 10, nsmall = 1)
No return value, called for export to text files.
The object to be written, a list with named elements, as an object returned from ReadOptpar.
ReadOptpar
A character string naming a file to write to. Windows users: Note that Paths are separated by '/', not '\'.
Integer, number of significant digits to export. See format.
format
Integer, number of significant decimals to export. See format.
ReadOptpar with a description of the expected content of x.
x
te <- ReadOptpar(filename = system.file("demo_model", "optpar.txt", package = "HYPEtools")) WriteOptpar(x = te, filename = tempfile())
Run the code above in your browser using DataLab