Not designed to be used directly. run_nm() and other functions will use this to write the control file contents to the ctl_path() prior to execution.

write_ctl(m, path = NA_character_, force = FALSE)

## Arguments

m

An nm object.

path

Optional path to save the control file.

force

Logical (default = FALSE), force write, don't ask.

## Value

Invisibly returns m unmodified.