The default behaviour of NMsim
. Replaces any $ESTIMATION
and $COVARIANCE sections by a $SIMULATION section.
NMsim_default(
file.sim,
file.mod,
data.sim,
nsims = 1,
onlysim = TRUE,
replace.sim = TRUE,
return.text = FALSE
)
Character vector of simulation control stream paths
See ?NMsim
.
See ?NMsim
.
See ?NMsim
.
Number of replications wanted. The default is 1. If greater, multiple control streams will be generated.
Include `ONLYSIM` in `$SIMULATION`? Default is `TRUE`. Only applied when `replace.sim=`TRUE`.
If there is a $SIMULATION section in the
contents of file.sim, should it be replaced? Default is
yes. See the list.section
argument to NMsim
for
how to provide custom contents to sections with NMsim
instead of editing the control streams beforehand.
If TRUE, just the text will be returned, and resulting control stream is not written to file.