The hardware and bandwidth for this mirror is donated by METANET, the Webhosting and Full Service-Cloud Provider.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]metanet.ch.
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!
Install the package from CRAN using
install.packages("OneSampleMR")
To check for updates run
update.packages()
Using these old versions of the gmm package, a GNU Fortran installation was required even if the binary version of the package was installed.
The fix is to update to the current version of gmm, which is version 1.8.
If you cannot update your version of gmm then
Install the development version of the package from source from GitHub using
# install.packages("remotes") # uncomment on first run
::install_github("remlapmot/OneSampleMR") remotes
To check for and install updates to the development version run the previous command again or run
::update_packages() remotes
A binary of the development version of the package (for Windows, macOS, and Ubuntu Jammy Jellyfish) can be installed from r-universe using
install.packages('OneSampleMR', repos = c('https://remlapmot.r-universe.dev', 'https://cloud.r-project.org'))
which can be updated using
update.packages(repos = c('https://remlapmot.r-universe.dev', 'https://cloud.r-project.org'))
These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.