ExtractNondiseased {PoDBAY} | R Documentation |
Non-diseased subjects extraction
Description
Function extracts non-diseased subjects from vaccinated and control groups if the data have assigned disease status (for example using ClinicalTrial
function). The vaccinated and control data are provided in the form of population class objects (see the Population-class
function for more details).
Usage
ExtractNondiseased(vaccinated, control)
Arguments
vaccinated |
|
control |
|
Value
non-diseased subjects, Population-class
object: a subset of control and vaccinated subjects with disease status = FALSE.
Examples
## Example 1
# Data preparation
data(vaccinated)
data(control)
# Estimating the disease status and case-count efficacy with CI
ClinicalTrial(vaccinated, control, CI = 0.95)
# Extracting the non-diseased subjects
ExtractNondiseased(vaccinated, control)
[Package PoDBAY version 1.4.3 Index]