README.md

SamplingDesignTools: Tools for Dealing with Complex Sampling Designs

Installation

Install the SamplingDesignTools package from GitHub (package devtools needed):

install.packages("devtools")
devtools::install_github("nyilin/SamplingDesignTools")

Usage

The SamplingDesignTools package provides tools for working with study designs in epidemiological research, specifically the following study designs:

Case-control study:

Nested case-control (NCC) study:

Counter-matched nested case-control study:

(More) extreme case-control (MECC) study:

Help documents for main functions above include minimal examples to illustrate function usage. Please refer to the online guidebook for detailed demonstration and discussion.



nyilin/SamplingDesignTools documentation built on Nov. 20, 2022, 8:07 a.m.