generatePopulation {PoDBAY}R Documentation

Population class object generation

Description

Function generates the population class object using provided summary statistics.

Usage

generatePopulation(N, mean, stdDev, unknownDistribution = FALSE, UDFunction = NULL)

Arguments

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

Value

generated population class object with all its characteristics defined in the input parameters

Examples


# Example 1: empty population
population0 <- generatePopulation()

# Example 2
population1 <- generatePopulation(N = 100,
                                  mean = 5,
                                  stdDev = 2)


[Package PoDBAY version 1.4.3 Index]