Description Usage Arguments Details Value Examples

View source: R/FunctionsPoDParameters.R

Function upsamples (by random sampling with replacement) titers from the immunogenicity subset to the required size.

If the size of the immunogenicity subset matches the required size, nothing happens and the original titers from the immunogenicity subset are returned.

1 | ```
GenerateNondiseased(blindNondiseasedTiters, nondiseasedCount)
``` |

`blindNondiseasedTiters` |
numeric vector: vector of non-diseased subjects titer values |

`nondiseasedCount` |
numeric: total number of non-diseased subjects, required size of the non-diseased population |

The inputs should come from immunogenicity subset. "nondiseasedCount" represents number of all non-diseased patients in the clinical trial.

Immunogenicity subset populations are obtained from function `BlindSampling`

. Immunogenicity subset represents a sample from the non-diseased population.

In this function, sampling with replacement to the required "nondiseasedCount" of the immunogenecitry subset is performed. The function is used inside `PoDParamEstimation`

function.

nondiseasedTiters: numeric vector of all non-diseased subjects titers

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | ```
## Data preparation
data(nondiseased)
## Example 1
# Creating imunogenicity subset, method = "Full"
NondiseasedImmunogenicitySubset <-
ImmunogenicitySubset(diseased,
nondiseased,
method = list(name = "Full",
value = "NA"))
# Number of all non-diseased subjects in the clinical trial
nondiseasedGenerationCount <- nondiseased$N
# Upsampling of non-diseased titers
GenerateNondiseased(NondiseasedImmunogenicitySubset$titers, nondiseasedGenerationCount)
``` |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.