Package: mvfmr Type: Package Title: Functional Multivariable Mendelian Randomization Version: 0.1.0 Authors@R: c(person("Nicole", "Fontana", email = "nicole.fontana@polimi.it", role = c("aut", "cre")), person("Francesca", "Ieva", role = c("aut", "ths")), person("Piercesare", "Secchi", role = c("aut", "ths"))) Description: Implements Multivariable Functional Mendelian Randomization (MV-FMR) to estimate time-varying causal effects of multiple longitudinal exposures on health outcomes. Extends univariable functional Mendelian Randomisation (MR) (Tian et al., 2024 ) to the multivariable setting, enabling joint estimation of multiple time-varying exposures with pleiotropy and mediation scenarios. Key features include: (1) data-driven cross-validation for basis component selection, (2) handling of mediation pathways between exposures, (3) support for both continuous and binary outcomes using Generalized Method of Moments (GMM) and control function approaches, (4) one-sample and two-sample MR designs, (5) bootstrap inference and instrument diagnostics including Q-statistics for overidentification testing. Methods are described in Fontana et al. (2025) . License: MIT + file LICENSE Encoding: UTF-8 Depends: R (>= 3.5.0) Imports: fdapace, ggplot2 (>= 3.0.0), parallel, doParallel, foreach, pROC, progress, glmnet, gridExtra, stats Suggests: dplyr, tidyr, testthat (>= 3.0.0), knitr, rmarkdown VignetteBuilder: knitr RoxygenNote: 7.3.1 NeedsCompilation: no Packaged: 2026-07-09 07:52:58 UTC; root Author: Nicole Fontana [aut, cre], Francesca Ieva [aut, ths], Piercesare Secchi [aut, ths] Maintainer: Nicole Fontana Repository: https://cran.r-universe.dev Date/Publication: 2026-02-09 13:30:09 UTC RemoteUrl: https://github.com/cran/mvfmr RemoteRef: HEAD RemoteSha: 3be5577de672dfb50a262a0b7c6aae784cd78844