Package: aMNLFA
Title: Automated Moderated Nonlinear Factor Analysis Using 'M-plus'
Version: 1.1.2
Authors@R: c(
  person("Veronica", "Cole", email = "colev@wfu.edu", role = c("aut","cre")),
  person("Nisha", "Gottfredson", email = "gottfredson@email.unc.edu", role = c("aut")),
  person("Michael", "Giordano", email = "mgiordano@email.unc.edu", role = c("aut")),
  person("Isabella", "Stallworthy", email = "stall142@umn.edu", role = c("aut")),
  person("Meriah", "DeJoseph", email = "dejos002@umn.edu", role = c("aut")),
  person("Robin", "Sifre", email = "robinsifre@gmail.com", role = c("aut")),
  person("Tim", "Janssen", email = "tim_janssen@brown.edu", role = c("ctb")))
Description: Automated generation, running, and interpretation of
        moderated nonlinear factor analysis models for obtaining scores
        from observed variables, using the method described by
        Gottfredson and colleagues (2019)
        <doi:10.1016/j.addbeh.2018.10.031>. This package creates M-plus
        input files which may be run iteratively to test two different
        types of covariate effects on items: (1) latent variable impact
        (both mean and variance); and (2) differential item
        functioning. After sequentially testing for all effects, it
        also creates a final model by including all significant effects
        after adjusting for multiple comparisons. Finally, the package
        creates a scoring model which uses the final values of
        parameter estimates to generate latent variable scores. \n\n
        This package generates TEMPLATES for M-plus inputs, which can
        and should be inspected, altered, and run by the user. In
        addition to being presented without warranty of any kind, the
        package is provided under the assumption that everyone who uses
        it is reading, interpreting, understanding, and altering every
        M-plus input and output file. There is no one right way to
        implement moderated nonlinear factor analysis, and this package
        exists solely to save users time as they generate M-plus syntax
        according to their own judgment.
Depends: R (>= 3.1.0), utils
Imports: grDevices, graphics, stats, ggplot2, MplusAutomation,
        reshape2, gridExtra, stringr, plyr, devtools, dplyr, stringi
License: GPL-2
Encoding: UTF-8
LazyData: true
RoxygenNote: 7.1.1
NeedsCompilation: no
Packaged: 2026-10-01 19:50:47 UTC; root
Author: Veronica Cole [aut, cre], Nisha Gottfredson [aut], Michael
        Giordano [aut], Isabella Stallworthy [aut], Meriah DeJoseph
        [aut], Robin Sifre [aut], Tim Janssen [ctb]
Maintainer: Veronica Cole <colev@wfu.edu>
Config/pak/sysreqs: cmake libfontconfig1-dev libfreetype6-dev
        libfribidi-dev git make libharfbuzz-dev texlive libgit2-dev
        libicu-dev libjpeg-dev libpng-dev libtiff-dev libuv1-dev
        libwebp-dev libxml2-dev libssl-dev libx11-dev zlib1g-dev
Repository: https://cranhaven.r-universe.dev
Date/Publication: 2026-10-01 03:02:00 UTC
RemoteUrl: https://github.com/cranhaven/cranhaven.r-universe.dev
RemoteRef: package/aMNLFA
RemoteSha: 3130212ec79debac0b2b1e0644cde44db81225e3
RemoteSubdir: aMNLFA
