- x
a character string containing the Blimp input text.
- file
a character string indicating the name of the Blimp input
file with or without the file extension .imp
, e.g.,
"Blimp_Input.imp"
or "Blimp_Input.imp"
.
- data
a matrix or data frame from which the variables names for
the section VARIABLES
are extracted.
- comment
logical: if FALSE
(default), comments (i.e., text
after the #
symbol) are removed from the input text
specified in the argument x
.
- replace.inp
logical: if TRUE
(default), an existing input
file will be replaced.
- blimp.run
logical: if TRUE
, the input file specified in the
argument file
containing the input text specified
in the argument x
is run using the blimp.run()
function.
- posterior
logical: if TRUE
, the posterior distribution including
burn-in and post-burn-in phase for all parameters are saved
in long format in a file called posterior.*
in the
folder specified in the argument folder
and .imp
file name in the format specified in the argument format
.
- folder
a character string indicating the prefix of the folder for
saving the posterior distributions. The default setting is
folder = "Posterior_"
.
- format
a character vector indicating the file format(s) for saving the
posterior distributions, i.e., "csv"
(default) for
write.csv()
, "csv2"
for write.csv2()
,
"excel"
for write.xlsx()
, "rds"
for
saveRDS()
, and "workspace"
for write()
.
- clear
logical: if TRUE
(default), the console is cleared
after estimating each model.
- replace.out
a character string for specifying three settings:
"always"
(default), which runs all models, regardless
of whether an output file for the model exists, "never"
,
which does not run any model that has an existing output file,
and "modified"
, which only runs a model if the
modified date for the input file is more recent than the
output file modified date.
- Blimp
a character string for specifying the name or path of the
Blimp executable to be used for running models. This covers
situations where Blimp is not in the system's path, or where
one wants to test different versions of the Blimp program.
Note that there is no need to specify this argument for most
users since it has intelligent defaults.
- result
a character vector specifying Blimp result sections included
in the output (see 'Details' in the blimp.print
function).
- exclude
a character vector specifying Blimp input command or result
sections excluded from the output (see 'Details' in the
blimp.print
function).
- color
a character vector with two elements indicating the colors
used for the main headers (e.g., "ALGORITHMIC OPTIONS SPECIFIED:"
),
and for the headers Outcome Variable:
and
Missing predictor:
, Latent Variable:
,
and Covariance Matrix:
.
- style
a character vector with two elements indicating the style
used for headers (e.g., "ALGORITHMIC OPTIONS SPECIFIED:"
),
and for the main headers (e.g., "ALGORITHMIC OPTIONS SPECIFIED:"
),
and for the headers Outcome Variable:
and
Missing predictor:
, Complete variable:
, Latent Variable:
,
and Covariance Matrix:
.
- not.result
logical: if TRUE
(default), character vector indicating
the result sections not requested are shown on the console.
- write
a character string naming a file for writing the output into
a text file with file extension ".txt"
(e.g.,
"Output.txt"
).
- append
logical: if TRUE
(default), output will be appended
to an existing text file with extension .txt
specified
in write
, if FALSE
existing text file will be
overwritten.
- check
logical: if TRUE
(default), argument specification is
checked.
- output
logical: if TRUE
(default), output is shown on the
console by using the function blimp.print()
.