Package: crosslag 0.1.0

crosslag: 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) <doi:10.1016/j.cpr.2024.102435> and the paper by A Gasparrini (2010) <doi:10.1002/sim.3940>.

Authors:Yaxin Li [aut, cre]

crosslag_0.1.0.tar.gz
crosslag_0.1.0.zip(r-4.5)crosslag_0.1.0.zip(r-4.4)crosslag_0.1.0.zip(r-4.3)
crosslag_0.1.0.tgz(r-4.4-any)crosslag_0.1.0.tgz(r-4.3-any)
crosslag_0.1.0.tar.gz(r-4.5-noble)crosslag_0.1.0.tar.gz(r-4.4-noble)
crosslag_0.1.0.tgz(r-4.4-emscripten)crosslag_0.1.0.tgz(r-4.3-emscripten)
crosslag.pdf |crosslag.html
crosslag/json (API)

# Install 'crosslag' in R:
install.packages('crosslag', repos = c('https://curiousxx.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Datasets:
  • test_data1 - Data for the first time point used for testing
  • test_data2 - Data for the second time point used for testing

On CRAN:

This package does not link to any Github/Gitlab/R-forge repository. No issue tracker or development information is available.

1.00 score 1 scripts 580 downloads 9 exports 112 dependencies

Last updated 6 months agofrom:8df81ea84e. Checks:OK: 7. Indexed: yes.

TargetResultDate
Doc / VignettesOKOct 15 2024
R-4.5-winOKOct 15 2024
R-4.5-linuxOKOct 15 2024
R-4.4-winOKOct 15 2024
R-4.4-macOKOct 15 2024
R-4.3-winOKAug 16 2024
R-4.3-macOKAug 16 2024

Exports:adjust_targetclpm_gam_cclpm_gam_rclpm_gamm4_cclpm_gamm4_rclpm_poly_cclpm_poly_rcrlog_linejudge_line

Dependencies:abindbackportsbase64encbootbroombslibcachemcarcarDatacheckmatecliclustercodetoolscolorspacecorrplotcowplotcpp11data.tableDerivdigestdoBydplyrevaluatefansifarverfastmapfontawesomeforeignFormulafsgamm4genericsggplot2ggpubrggrepelggsciggsignifgluegridExtragtablehighrHmischtmlTablehtmltoolshtmlwidgetsisobandjquerylibjsonliteknitrlabelinglatticelavaanlifecyclelme4magrittrMASSMatrixMatrixModelsmemoisemgcvmicrobenchmarkmimeminqamnormtmodelrmultcompmunsellmvtnormnlmenloptrnnetnumDerivpbivnormpbkrtestpillarpkgconfigpolsplinepolynompurrrquadprogquantregR6rappdirsRColorBrewerRcppRcppEigenrlangrmarkdownrmsrpartrstatixrstudioapisandwichsassscalesSparseMstringistringrsurvivalTH.datatibbletidyrtidyselecttinytexutf8vctrsviridisviridisLitewithrxfunyamlzoo