/tensorsem

SEM using TensorFlow

Primary LanguageRGNU General Public License v3.0GPL-3.0


Structural Equation Modeling using TensorFlow


Description

An R package for structural equation modeling using TensorFlow. This is a stable branch.

Installation

# First, install TensorFlow version 1.13.1 for R
# Newer versions _may_ work but are untested.
remotes::install_github("rstudio/tensorflow")
tensorflow::install_tensorflow(version = "1.13.1")

# Then, install tensorsem from this branch
remotes::install_github("vankesteren/tensorsem")

# Lastly, load and run the example
library(tensorsem)
example(tf_sem)