Learn R Programming

semPLS (version 1.0-6)

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 (de

Value

  • The object returned is of class splsm with the elements:
  • connectionIDsA 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.
  • variablesA data.frame containing the names of all the nodes together with their id and $x$ -, $y$-position on the SmartPLS GUI.
  • latentA character vector naming the latent variables.
  • manifestA character vector naming the manifest variables.
  • pathIs somehow identical with connectionIDs, only that the node ids are replaced by their names.
  • strucmodContains only the subset of path representing the structural model.
  • measuremodContains only the subset of path representing the measurement model.
  • DThe adjacency matrix $\bm{D}$ for the structural model.
  • MThe adjacency matrix $\bm{M}$ for the measurement model.
  • blocksA list naming the MVs belonging to each LV's block and telling their measurement mode.
  • orderSee armguments section.

References

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

See Also

sempls, plsm

Examples

Run this code
# 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

Run the code above in your browser using DataLab