An implementation of calculating the Rsquared measure as a total mediation effect size measure and its confidence interval for moderate or highdimensional mediator models. It gives an option to filter out nonmediators using variable selection methods. The original R package is directly related to the paper Yang et al (2021) "Estimation of mediation effect for highdimensional omics mediators with application to the Framingham Heart Study" <doi:10.1101/774877>. The new version contains a choice of using crossfitting, which is computationally faster. The details of the crossfitting method are available in the paper Xu et al (2023) "Speeding up interval estimation for R2based mediation effect of highdimensional mediators via crossfitting" <doi:10.1101/2023.02.06.527391>.
Package details 


Author  Tianzhong Yang [aut, cre], Chunlin Li [aut], Zhichao Xu [ctb] 
Maintainer  Tianzhong Yang <yang3704@umn.edu> 
License  GPL3 
Version  1.1 
Package repository  View on CRAN 
Installation 
Install the latest version of this package by entering the following in R:

Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.