# Calculating the invariance test

### Description

Calculating the invariance test

### Usage

1 | ```
invariance(x, nodes, inner, outer, mode, scheme, scaling, scaled)
``` |

### Arguments

`x` |
matrix or data.frame with the data. |

`inner` |
A square (lower triangular) boolean matrix representing the inner model (i.e. the path relationships between latent variables). |

`outer` |
list of vectors with column indices or column names from Data indicating the sets of manifest variables forming each block (i.e. which manifest variables correspond to each block). |

`mode` |
character vector indicating the type of measurement for each
block. Possible values are: |

`scheme` |
string indicating the type of inner weighting
scheme. Possible values are |

`scaling` |
optional list of string vectors indicating the type of
measurement scale for each manifest variable specified in |

`scaled` |
whether manifest variables should be standardized.
Only used when |

### Details

Internal function. `invariance`

is called by `treemodel.pls`

.

### Value

data frames containing the results of the invariance test