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

read.splsm

Import of XML Model Description Specified in SmartPLS


Description

Imports a .splsm file, an XML model description, specified in SmartPLS (see references). Note, that moderator effects specified within SmartPLS are not yet supported. Nevertheless moderating effects can be specified manually.

Usage

read.splsm(file=character(), order=c("generic", "alphabetical"))

Arguments

file

A character naming the path to the .splsm file produced by SmartPLS.

order

A character describing how to order the latent variables (LVs). If

  • "generic" the LVs will be ordered according to their appearance in the causal chain of the structural model (default).

  • "alphabetical" the LVs will be ordered alphabetically.

Value

The object returned is of class splsm with the elements:

connectionIDs

A data.frame containing a source id and target id for all connections of the path model, as specified in the .splsm file produced by SmartPLS. The ids refer to the nodes of latent and manifest variable.

variables

A data.frame containing the names of all the nodes together with their id and x -, y-position on the SmartPLS GUI.

latent

A character vector naming the latent variables.

manifest

A character vector naming the manifest variables.

path

Is somehow identical with connectionIDs, only that the node ids are replaced by their names.

strucmod

Contains only the subset of path representing the structural model.

measuremod

Contains only the subset of path representing the measurement model.

D

The adjacency matrix \bm{D} for the structural model.

M

The adjacency matrix \bm{M} for the measurement model.

blocks

A list naming the MVs belonging to each LV's block and telling their measurement mode.

order

See armguments section.

References

Ringle, C.M./Wende, S./Will, S.: SmartPLS 2.0 (M3) Beta, Hamburg 2005, http://www.smartpls.de.

See Also

Examples

# getting the path to file: 'ECSI_Tenenhaus.splsm' (generated by SmartPLS)
ptf <- system.file("SmartPLS", "workspace", "ecsi", "ECSI_Tenenhaus.splsm",
                   package="semPLS")

# creating the model specification to use with 'sempls()'.
ECSI <- read.splsm(ptf)
ECSI

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.