Skip to contents

Creates a .nml file running a GLM simulation.

Usage

write_nml(glm_nml, file)

Source

glmtools package: https://github.com/GLEON/glmtools

Arguments

glm_nml

a nml (a list) for GLM config

file

a string with the path to the glm2.nml file to write

Author

Jordan S. Read

Examples

if (FALSE) { # \dontrun{
glm_nml <- read_nml()
write_path <- paste0(tempdir(),'glm2.nml')
write_nml(glm_nml, file = write_path)
print(read_nml(write_path))
} # }