10.1 Procedure with R code

First, we load the necessary R-packages that are used throughout the process of analysis.

library(paramtest)  #important
library(mvtnorm)    #important
library(lavaan)     #important
library(tidyverse)
library(psych)
library(reshape2)
library(CTT)
library(tcltk2)