OneSampleMR

R-CMD-check CRAN status RStudio_CRAN_mirror_downloads_badge Codecov test coverage

Useful functions for one sample, individual level data, Mendelian randomization / instrumental variable analyses, including implementations of:

OneSampleMR was included in the R Views November 2021 “Top 40” New CRAN Packages here!

Installation

Released version

Install the package from CRAN using

install.packages("OneSampleMR")

To check for updates run

update.packages()

Development version

Install the development version of the package from GitHub using

# install.packages("remotes") # uncomment on first run
remotes::install_github("remlapmot/OneSampleMR")

To check for and install updates to the development version run the previous command again or run

remotes::update_packages()