WriteOptpar {HYPEtools}R Documentation

Write an 'optpar.txt' File

Description

WriteOptpar prints a HYPE parameter optimization list to a file.

Usage

WriteOptpar(x, filename, digits = 10, nsmall = 1)

Arguments

x

The object to be written, a list with named elements, as an object returned from ReadOptpar.

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 format.

nsmall

Integer, number of significant decimals to export. See format.

Value

No return value, called for export to text files.

See Also

ReadOptpar with a description of the expected content of x.

Examples

te <- ReadOptpar(filename = system.file("demo_model", "optpar.txt", package = "HYPEtools"))
WriteOptpar(x = te, filename = tempfile())


[Package HYPEtools version 1.6.2 Index]