Package: crosslag
Type: Package
Title: Perform Linear or Nonlinear Cross Lag Analysis
Version: 0.1.0
Authors@R: 
    person("Yaxin","Li",email="LYX010308@163.com",role=c("aut","cre"))
Maintainer: Yaxin Li <LYX010308@163.com>
Description: Linear or nonlinear cross-lagged panel model can be built from input data. Users can choose the appropriate method from three methods for constructing nonlinear cross lagged models. These three methods include polynomial regression, generalized additive model and generalized linear mixed model.In addition, a function for determining linear relationships is provided. 
    Relevant knowledge of cross lagged models can be learned through the paper by Fredrik Falkenström (2024) <doi:10.1016/j.cpr.2024.102435> and the paper by A Gasparrini (2010) <doi:10.1002/sim.3940>.
License: MIT + file LICENSE
Encoding: UTF-8
LazyData: true
RoxygenNote: 7.3.1
Depends: R (>= 4.3.0)
Imports: gamm4 (>= 0.2.6), ggplot2 (>= 3.5.0), lavaan (>= 0.6.17), mgcv
        (>= 1.9.1), rms (>= 6.8.0), ggpubr (>= 0.6.0), stats (>=
        4.3.2), utils (>= 3.1.0)
NeedsCompilation: no
Packaged: 2024-05-16 01:37:56 UTC; lyx01
Author: Yaxin Li [aut, cre]
Repository: CRAN
Date/Publication: 2024-05-17 10:10:03 UTC
Built: R 4.6.0; ; 2026-04-25 14:12:00 UTC; unix
