WriteOptpar | R Documentation |
WriteOptpar
prints a HYPE parameter optimization list to a file.
WriteOptpar(x, filename, digits = 10, nsmall = 1)
x |
The object to be written, a list with named elements, as an object returned from |
filename |
A character string naming a file to write to. Windows users: Note that Paths are separated by '/', not '\'. |
digits |
Integer, number of significant digits to export. See |
nsmall |
Integer, number of significant decimals to export. See |
No return value, called for export to text files.
ReadOptpar
with a description of the expected content of x
.
te <- ReadOptpar(filename = system.file("demo_model", "optpar.txt", package = "HYPEtools"))
WriteOptpar(x = te, filename = tempfile())
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.