Perform Linear or Nonlinear Cross Lag Analysis

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) and the paper by A Gasparrini (2010) .


Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("crosslag")

0.1.0 by Yaxin Li, 2 years ago


Browse source code at https://github.com/cran/crosslag


Authors: Yaxin Li [aut, cre]


Documentation:   PDF Manual  


MIT + file LICENSE license


Imports gamm4, ggplot2, lavaan, mgcv, rms, ggpubr, stats, utils


See at CRAN