structure: Structural specification functions for modelr package

Description Usage Arguments Examples

Description

paths creates the structural paths of a PLS SEM model and structure generates the matrix of paths for use by PLS modelling packages such as semPLS and simplePLS.

Usage

1
2
3
4
5
structure(...)
## S3 method for class modelr

paths(from = , to = )
## S4 method for method structure()

Arguments

...

The function paths that specifies the source and destination factors for each of the model's structural paths.

from

The source factor of a structural path

to

The destination factor of a structural path

Examples

1
2
3
4
5
6
7
8
mobi_sm <- structure(
             paths(from = "Image",        to = c("Expectation", "Satisfaction", "Loyalty")),
             paths(from = "Expectation",  to = c("Quality", "Value", "Satisfaction")),
             paths(from = "Quality",      to = c("Value", "Satisfaction")),
             paths(from = "Value",        to = c("Satisfaction")),
             paths(from = "Satisfaction", to = c("Complaints", "Loyalty")),
             paths(from = "Complaints",   to = "Loyalty")
           )

ISS-Analytics/modelr documentation built on May 7, 2019, 6:35 a.m.