Learn R Programming

dgmb (version 1.2)

IntPar: Calculating internal parameters

Description

A function to compute internal parameters.

Usage

IntPar(rs, rie, modo, bv)

Arguments

rs
A binary matrix specifying the structural relationships between constructs.
rie
A binary matrix specifying nonlinear and interaction effects on the endogenous construct.
modo
A vector with the mode of each block of variables. "F" for formative measurement models or Mode B in PLS structural models.
bv
A vector with the number of manifest variables per construct.

Value

nat
A vector with the nature of each construct, exogenous ("ex") or endogenous ("en").
bex
The number of exogenous constructs.
ben
The number of endogenous constructs.
ind.ex
The total number of manifest variables of exogenous constructs.
ind.en
The total number of manifest variables of endogenous constructs.

See Also

dgmb, dgmbGui, ExoMVs, ExoLVs, NIEffects, ExoLVsCor, ErrEnLV, EnLVs, EnMVs, XexXen

Examples

Run this code
r.s <- matrix(c(0,0,0,1,
                0,0,0,1,
                0,0,0,1,
                1,1,1,0),4,4,byrow=TRUE)
		   
r.ie <- matrix(c(0,0,1,				
                 0,1,0,				
                 1,0,0),3,3,byrow=TRUE)

modo <- c("F","F","F","F")

bv <- c(2,2,2,2)

intpar <- IntPar(r.s,r.ie,modo,bv)

attributes(intpar)

Run the code above in your browser using DataLab