semFromKeys: Run 'lavaan' Models from Keys Lists

Specifying 'lavaan' models manually can be time consuming when multiple similar models are required. The 'semFromKeys' package streamlines the process of running 'lavaan' models by generating model code from simple keys lists and running entire collections of models at once. The package was inspired by the process used in the code for Bainbridge, T. F., Ludeke, S. G., & Smillie, L. D. (2022) <doi:10.1037/pspp0000395>. The package also optionally checks that identical models have not been run on the same data, which saves time when code needs to be run again.

Getting started

Package details

AuthorTimothy F. Bainbridge [aut, cre, cph]
MaintainerTimothy F. Bainbridge <tfbainbridge@gmail.com>
LicenseGPL (>= 3)
Version0.2.2
URL https://github.com/timbainbridge/semFromKeys
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:
install.packages("semFromKeys")

Try the semFromKeys package in your browser

Any scripts or data that you put into this service are public.

semFromKeys documentation built on July 24, 2026, 5:07 p.m.