Description Usage Arguments Value Examples
View source: R/FunctionsPopulationGeneration.R
Function generates the population class object using provided summary statistics.
1 | generatePopulation(N, mean, stdDev, unknownDistribution = FALSE, UDFunction = NULL)
|
N |
numeric: number of subjects in the population |
mean |
numeric: mean of titers |
stdDev |
numeric: standard deviation of titers |
unknownDistribution |
logical: TRUE if there is an unknown factor affacting the shape of titer distribution |
UDFunction |
function: function defining the unknown factor affecting the shape of titer distribution |
generated population class object with all its characteristics defined in the input parameters
1 2 3 4 5 6 7 | # Example 1: empty population
population0 <- generatePopulation()
# Example 2
population1 <- generatePopulation(N = 100,
mean = 5,
stdDev = 2)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.