Converts a plsm object to an object of class mod for
usage of sem method within sem package.
Usage
plsm2sem(model, ...)
## S3 method for class 'plsm':
plsm2sem(model, file=stdout(), fixedVarMV=TRUE, fixedVarLV=TRUE,
fixedLoad=character(), ...)
Arguments
model
An object of class splsm as returned by the method
read.splsm.
...
Arguments to pass down.
file
A character naming the file to write to. If no file argument is specified, splsm2sem writes to stdout.
fixedVarMV
A logical indicating whether the variances of the MVs should be fixed to one. The default is TRUE.
fixedVarLV
A logical indicating whether the variances of the LVs should be fixed to one. The default is TRUE.
fixedLoad
A character vector naming the MVs, for which the outer loading should be fixed to one.
Value
If the sem package is available, an object of class
mod (see specifyModel) is returned, else a
text representation of recticular action model (RAM) is written. Note,
specifyModel was specify.model in sem (< 2.0.0).