Package: OneSampleMR 0.1.6

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]

OneSampleMR_0.1.6.tar.gz
OneSampleMR_0.1.6.zip(r-4.6)OneSampleMR_0.1.6.zip(r-4.5)OneSampleMR_0.1.6.zip(r-4.4)
OneSampleMR_0.1.6.tgz(r-4.6-any)OneSampleMR_0.1.6.tgz(r-4.5-any)
OneSampleMR_0.1.6.tar.gz(r-4.6-any)OneSampleMR_0.1.6.tar.gz(r-4.5-any)
OneSampleMR_0.1.6.tgz(r-4.5-emscripten)
OneSampleMR.pdf |OneSampleMR.html
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

6.82 score 24 stars 21 scripts 561 downloads 4 exports 82 dependencies

Last updated from:23a1f07011. Checks:9 OK. Indexed: no.

TargetResultTotal timeArtifact
linux-devel-x86_64OK144
source / vignettesOK246
linux-release-x86_64OK155
macos-devel-arm64OK98
macos-release-arm64OK114
windows-develOK85
windows-releaseOK96
windows-oldrelOK101
wasm-releaseOK129

Exports:fswmsmmtspstsri

Dependencies:abindbackportsbootbroomcarcarDataclicolorspacecowplotcpp11curlDerivdoBydplyrexpmfarverforecastFormulafracdiffgenericsggplot2gluegmmgtableisobandivregjsonlitelabelinglatticelifecyclelme4lmtestmagrittrMASSMatrixMatrixModelsmgcvmicrobenchmarkminqamodelrmsmmvtnormnlmenloptrnnetnumDerivpbkrtestpillarpkgconfigpurrrquadprogquantmodquantregR6rbibutilsRColorBrewerRcppRcppArmadilloRcppEigenRdpackreformulasrlangS7sandwichscalesSparseMstringistringrsurvivaltibbletidyrtidyselecttimeDatetseriesTTRurcautf8vctrsviridisLitewithrxtszoo

Comparison fits of the multiplicative structural mean model

Rendered fromcompare-smm-fits.Rmdusingknitr::rmarkdownon Dec 28 2025.

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

Comparison of conditional F-statistics

Rendered fromf-statistic-comparison.Rmdusingknitr::rmarkdownon Dec 28 2025.

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