BlindSampling: Immunogenicity subset: vaccinated, control, non-diseased

Description Usage Arguments Details Value Examples

View source: R/FunctionsImmunogenicitySample.R

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

1
2
3
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

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# 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))

PoDBAY documentation built on Sept. 21, 2021, 5:08 p.m.