Learn R Programming

PoDBAY (version 1.4.3)

BlindSampling: 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

Value

  • ImmunogenicityVaccinated: vaccinated subjects in the immunogenicity subset, Population-class object (N, mean, stdDev, titers)

  • ImmunogenicityControl: control subjects in the immunogenicity subset, Population-class object (N, mean, stdDev, titers)

  • ImmunogenicityNondiseased: non-diseased subjects in the immunogenicity subset, Population-class object (N, mean, stdDev, titers)

Details

For details about the method parameter see ImmunogenicitySubset function.

Examples

Run this code
# NOT RUN {
# 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))

# }

Run the code above in your browser using DataLab