dim_latent_var: An integer number of the latent variables.
xstart: The starting values for parameter estimation.
ub: The upper bounds of the estimated parameters.
lb: The lower bounds of the estimated parameters.
options: A list of NLopt estimation options. By default, xtol_rel=1e-7, stopval=-9999, ftol_rel=-1, ftol_abs=-1, maxeval=as.integer(-1), and maxtime=-1.
isContinuousTime: A binary flag indicating whether the model is a continuous-time model (FALSE/0 = no; TRUE/1 = yes)
infile: Input file name
outfile: Output file name
compileLib: Whether to compile the libary anew
verbose: Logical flag for verbose output
Returns
A list of model statements to be passed to dynr.cook().