Design, Planning and Analysis of Observational Studies
Overview
A suite of functions for the design of case-control and two-phase studies, and the analysis of data that arise from them. Functions in this packages provides Monte Carlo based evaluation of operating characteristics such as powers for estimators of the components of a logistic regression model. For additional detail see: Haneuse S, Saegusa T and Lumley T (2011)doi:10.18637/jss.v043.i11.
Install
Health
NOTERd filesr-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-windows-x86_64, r-oldrel-macos-arm64, r-oldrel-macos-x86_64, r-oldrel-windows-x86_64, r-patched-linux-x86_64, r-release-linux-x86_64, r-release-macos-arm64, r-release-macos-x86_64, r-release-windows-x86_64
r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-windows-x86_64, r-patched-linux-x86_64, r-release-linux-x86_64, r-release-macos-arm64, r-release-macos-x86_64, r-release-windows-x86_64
checkRd: (-1) ccPower.Rd:57: Lost braces; missing escapes or markup?
57 | The correspondence between \code{betaTruth} and \code{X}, specifically the ordering of elements, is based on successive use of \code{\link{factor}} to each column of \code{X} which is expanded via the \code{expandX} argument. Each exposure that is expanded must conform to a {0, 1, 2, ...} integer-based coding convention.
| ^
checkRd: (-1) ccSim.Rd:78: Lost braces; missing escapes or markup?
78 | The correspondence between \code{betaTruth} and \code{X}, specifically the ordering of elements, is based on successive use of \code{\link{factor}} to each column of \code{X} which is expanded via the \code{expandX} argument. Each
...[truncated]...
ed coding convention.
| ^
checkRd: (-1) tpsSim.Rd:107: Lost braces; missing escapes or markup?
107 | The correspondence between \code{betaTruth} and \code{X}, specifically the ordering of elements, is based on successive use of \code{\link{factor}} to each column of \code{X} which is expanded via the \code{expandX} argument. Each exposure that is expanded must conform to a {0, 1, 2, ...} integer-based coding convention.
| ^r-oldrel-macos-arm64, r-oldrel-macos-x86_64, r-oldrel-windows-x86_64
checkRd: (-1) ccPower.Rd:57: Lost braces; missing escapes or markup?
57 | The correspondence between \code{betaTruth} and \code{X}, specifically the ordering of elements, is based on successive use of \code{\link{factor}} to each column of \code{X} which is expanded via the \code{expandX} argument. Each exposure that is expanded must conform to a {0, 1, 2, ...} integer-based coding convention.
| ^
checkRd: (-1) ccSim.Rd:70: Lost braces in \itemize; meant \describe ?
checkRd: (-1) ccSim.Rd:71: Lost braces in \itemize; meant \describe ?
checkRd: (-1) ccSim.Rd:72: Lost braces in \itemize; meant \describe ?
checkRd: (-1) ccSim.Rd:73: Lost braces in \itemize; meant \describe ?
checkRd: (-1) ccSim.Rd:74: Lo
...[truncated]...
ze; meant \describe ?
checkRd: (-1) tpsSim.Rd:100: Lost braces in \itemize; meant \describe ?
checkRd: (-1) tpsSim.Rd:101: Lost braces in \itemize; meant \describe ?
checkRd: (-1) tpsSim.Rd:102: Lost braces in \itemize; meant \describe ?
checkRd: (-1) tpsSim.Rd:103: Lost braces in \itemize; meant \describe ?
checkRd: (-1) tpsSim.Rd:107: Lost braces; missing escapes or markup?
107 | The correspondence between \code{betaTruth} and \code{X}, specifically the ordering of elements, is based on successive use of \code{\link{factor}} to each column of \code{X} which is expanded via the \code{expandX} argument. Each exposure that is expanded must conform to a {0, 1, 2, ...} integer-based coding convention.
| ^NOTECRAN incoming feasibilityr-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc
Maintainer: ‘Sebastien Haneuse <shaneuse@hsph.harvard.edu>’
No Authors@R field in DESCRIPTION.
Please add one, modifying
Authors@R: c(person(given = "Sebastien",
family = "Haneuse",
role = c("aut", "cre"),
email = "shaneuse@hsph.harvard.edu"),
person(given = "Takumi",
family = "Saegusa",
role = "aut"),
person(given = "Nilanjan",
family = "Chaterjee",
role = "aut"),
person(given = "Norman",
family = "Breslow",
role = "aut"))
as necessary.
Package CITATION file contains call(s) to old-style personList() or
as.personList(). Please use c() on person objects instead.
Package CITATION file contains call(s) to old-style citEntry(). Please
use bibentry() instead.- NOTE13 NOTENow
- NOTE14 NOTE2026-03-10
Documentation
- Help pages
- 11
- Examples that run
- 100%10 run in a plain check
- Exported functions with examples
- 100%
- Documented parameters
- 95%
- Return-value docs
- 89%
- Help pages citing references
- 73%
Downloads
Dependencies
Installing osDesign adds no packages beyond those that come with R.
Code & Tests
Datasets
People & History
Maintainer since 1.4 (2011)
Pick two releases to compare their code metrics.
- RR 4.6.0 released · 2026-04-24
- RR 4.5.0 released · 2025-04-11
- RR 4.4.0 released · 2024-04-24
- RR 4.3.0 released · 2023-04-21
- RR 4.2.0 released · 2022-04-22
- RR 4.1.0 released · 2021-05-18
- unarchivedReturned to CRAN2020-11-16
- 1.8Latest2020-11-16 · current release · diff ↗ ·
removed 7 exports
rXhyper, hybdes, hybdesEco, enumerate, enumerate.count, logit, expit - archivedRemoved from CRAN2020-10-18problems were not corrected in time Misuse of 'data = sys.parent()'
- RR 4.0.0 released · 2020-04-24
- RR 3.6.0 released · 2019-04-26
- RR 3.5.0 released · 2018-04-23
- RR 3.4.0 released · 2017-04-21
- RR 3.3.0 released · 2016-05-03
- RR 3.2.0 released · 2015-04-16
- 1.72014-08-06 · diff ↗ ·
added 7 exports
rXhyper, hybdes, hybdesEco, enumerate, enumerate.count, logit, expit
Package metadata
- First published
- 2011-07-25
- Total releases
- 5 / 15 yrs
- License
- GPL (>= 3) OSI
- Minimum R
- ≥ 3.5.0
- Bundled data
- 853 KB / 2 files
- Download size
- 886 KB
Cite
Cite this package
Run in R for the authors' entry:
citation("osDesign")The package provides a citation file, so citation() returns the authors' own entry.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-22, which the citation names so these numbers can be found later. More on citing and the projects behind them.