Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

plsm2sem

Convert Model for Use in sem


Description

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).

See Also

Examples

data(ECSImobi)
if(require(sem)){
   ECSIsem <- plsm2sem(ECSImobi)
   detach(package:sem)
   ECSIsem
}

semPLS

Structural Equation Modeling Using Partial Least Squares

v1.0-10
GPL-2
Authors
Armin Monecke <armin.monecke@stat.uni-muenchen.de>
Initial release
2013-01-21

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.