| call.eqs | R Documentation |
This function calls an EQS script file (.eqs) and executes it.
call.eqs(EQSpgm, EQSmodel, serial, Rmatrix = NA, datname = NA, LEN = 2000000)
EQSpgm |
String containing path including program name where EQS is located (see details) |
EQSmodel |
String containing path where .eqs script file is located (see details) |
serial |
EQS serial number as character |
Rmatrix |
Optional matrix argument if data or covariances are stored in R |
datname |
If |
LEN |
Integer containing number of working array units. By default, it is 2000000 8 bytes units |
If the path in EQSpgm and EQSmodel contains a blank, single quotes and double quotes
are required in argument. See EQSpgm argument in examples. The last statement in the EQSpgm argument refers
to the name of the executable program file. Under Windows it is ".../WINEQS" (referring to WINEQS.exe), under Mac ".../MACEQS" and
under Linux ".../EQS". When specifying the path, use slash instead of backslash.
The .ETS, .CBK and .ETP files are written in the directory where the .eqs file is located. Unless another path is provided within in the .eqs script file.
The argument datname must match with the input data specified in the corresponding .eqs file.
Returns TRUE is the estimation was succesfully and FALSE otherwise.
Patrick Mair, Eric Wu
Bentler, P. M. (1995). EQS Program Manual. Encino, CA: Multivariate Software Inc.
read.eqs, run.eqs
## Not run:
##not executable, valid serial number has to be provided
res <- call.eqs(EQSpgm = "C:/Program Files/EQS61/WINEQS.EXE",
EQSmodel = "c:/eqs61/examples/manul7.eqs", serial = "1234")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.