# IntPar: Calculating internal parameters In dgmb: Simulating Data for PLS Mode B Structural Models

## Description

A function to compute internal parameters.

## Usage

 `1` ```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

A list with the following components:

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

## Author(s)

Alba Martinez-Ruiz <[email protected]>

`dgmb`, `dgmbGui`, `ExoMVs`, `ExoLVs`, `NIEffects`, `ExoLVsCor`, `ErrEnLV`, `EnLVs`, `EnMVs`, `XexXen`
 ``` 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16``` ```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) ```