Package: OneSampleMR 0.1.7.9000

OneSampleMR: One Sample Mendelian Randomization and Instrumental Variable Analyses

Useful functions for one-sample (individual level data) Mendelian randomization and instrumental variable analyses. The package includes implementations of; the Sanderson and Windmeijer (2016) <doi:10.1016/j.jeconom.2015.06.004> conditional F-statistic, the multiplicative structural mean model Hernán and Robins (2006) <doi:10.1097/01.ede.0000222409.00878.37>, and two-stage predictor substitution and two-stage residual inclusion estimators explained by Terza et al. (2008) <doi:10.1016/j.jhealeco.2007.09.009>.

Authors:Tom Palmer [aut, cre], Wes Spiller [aut], Eleanor Sanderson [aut], Nicolai Vitt [aut]

OneSampleMR_0.1.7.9000.tar.gz
OneSampleMR_0.1.7.9000.zip(r-4.7)OneSampleMR_0.1.7.9000.zip(r-4.6)OneSampleMR_0.1.7.9000.zip(r-4.5)
OneSampleMR_0.1.7.9000.tgz(r-4.6-any)OneSampleMR_0.1.7.9000.tgz(r-4.5-any)
OneSampleMR_0.1.7.9000.tar.gz(r-4.7-any)OneSampleMR_0.1.7.9000.tar.gz(r-4.6-any)
OneSampleMR_0.1.7.9000.tgz(r-4.6-emscripten)
manual.pdf |manual.html
card.svg |card.png
OneSampleMR/json (API)
NEWS

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

Bug tracker:https://github.com/remlapmot/onesamplemr/issues

Pkgdown/docs site:https://remlapmot.github.io

On CRAN:

Conda:

instrumental-variableinstrumental-variablesmendelian-randomisationmendelian-randomizationmendelianrandomisationmendelianrandomization

7.31 score 25 stars 34 scripts 239 downloads 4 exports 75 dependencies

Last updated from:531242a154. Checks:9 OK. Indexed: no.

TargetResultTimeFilesSyslog
linux-devel-x86_64OK170
source / vignettesOK221
linux-release-x86_64OK148
macos-release-arm64OK135
macos-oldrel-arm64OK183
windows-develOK143
windows-releaseOK94
windows-oldrelOK130
wasm-releaseOK130

Exports:fswmsmmtspstsri

Dependencies:abindbackportsbootbroomcarcarDataclicolorspacecowplotcpp11DerivdoBydplyrexpmfarverforecastFormulafracdiffgenericsggplot2gluegmmgtableisobandivreglabelinglatticelifecyclelme4lmtestmagrittrMASSMatrixMatrixModelsmgcvmicrobenchmarkminqamodelrmsmmvtnormnlmenloptrnnetnumDerivpbkrtestpillarpkgconfigpurrrquantregR6rbibutilsRColorBrewerRcppRcppArmadilloRcppEigenRdpackreformulasrlangS7sandwichscalesSparseMstringistringrsurvivaltibbletidyrtidyselecttimeDateurcautf8vctrsviridisLitewithrzoo

Comparison fits of the multiplicative structural mean model

Rendered fromcompare-smm-fits.Rmdusingknitr::rmarkdownon May 14 2026.

Last update: 2024-08-27
Started: 2021-08-19

Comparison of conditional F-statistics

Rendered fromf-statistic-comparison.Rmdusingknitr::rmarkdownon May 14 2026.

Last update: 2026-02-26
Started: 2021-08-19