BlindSampling {PoDBAY}R Documentation

Immunogenicity subset: vaccinated, control, non-diseased

Description

Function creates non-diseased immunogenicity subset, and vaccinated and control immunogenicity subsets based on chosen method. The immunogenicity subsets are provided in the form of population class objects (see the Population-class function for more details).

Usage

BlindSampling(diseased, 
              nondiseased,  
              method = list(name = "Full", value = NA))

Arguments

diseased

Population-class object: diseased subjects, created using ExtractDiseased function

nondiseased

Population-class object: non-diseased subjects, created using ExtractNondiseased function

method

named list: "name" possible inputs "Full", "Ratio", "Fixed";

"value" = numeric value

Details

For details about the method parameter see ImmunogenicitySubset function.

Value

Examples

# Data preparation
data(diseased)
data(nondiseased)

## Example 1
# Creating immunogenicity subset, method = "Full"
ImmunogenicitySubsetFull <- 
    BlindSampling(diseased, 
                  nondiseased, 
                  method = list(name = "Full", 
                                value = NA))

## Example 2
# Creating of immunogenicity subset, method = "Ratio"
ImmunogenicitySubsetRatio <- 
    BlindSampling(diseased, 
                  nondiseased, 
                  method = list(name = "Ratio", 
                                value = 4))

## Example 3
# Creating of immunogenicity subset, method = "Fixed"
ImmunogenicitySubsetFixed <- 
    BlindSampling(diseased, 
                  nondiseased, 
                  method = list(name = "Fixed", 
                                value = 100))


[Package PoDBAY version 1.4.3 Index]