disease_expose_data: Sample Disease-Exposure Data

disease_expose_dataR Documentation

Sample Disease-Exposure Data

Description

A simple example of a data.frame of disease-exposure/disease-risk factor data that could be used with this package and is used in examples

Usage

disease_expose_data

Format

A data.frame with 5 columns and 500 rows:

id

integer of the row id, could be thought of as the person id

disease

character column specifying the disease status, with "No" equal to not diseased and "Yes" equal to diseased

exposure1

binary column specifying if the person has/had the exposure (1) or not (0)

exposure2

character column specifying if the person has/had the exposure ("Yes") or not ("No")

exposure3

character column specifying which category of an exposure/risk factor the person falls into (are they a child, office worker, shop worker, etc.)


npeters1322/hospEpi documentation built on April 30, 2022, 6:12 p.m.