Population | R Documentation |
List of individuals used in a population simulation
ospsuite.utils::Printable
-> ospsuite::DotNetWrapper
-> Population
count
the number of individual in the population
allCovariateNames
the names of all covariates defined in the population
allParameterPaths
the paths of all parameters defined in the population
allIndividualIds
Ids of individuals defined in the population
has()
Returns TRUE
if the population has variability defined for parameterOrPath
otherwise FALSE
Population$has(parameterOrPath)
parameterOrPath
Parameter instance of parameter path
setParameterValues()
Updates or adds the variability values in the population for parameterOrPath
.
Population$setParameterValues(parameterOrPath, values)
parameterOrPath
Parameter instance of parameter path. If an entry already exists for this parameter by path, its values be overwritten, otherwise it will be created.
values
double vector containing the value to set for the parameterOrPath
getParameterValues()
Returns the variability values defined in the population for parameterOrPath
Population$getParameterValues(parameterOrPath)
parameterOrPath
Parameter instance of parameter path
getCovariateValues()
Returns the values defined in the population for the covariate named covariateName
Population$getCovariateValues(covariateName)
covariateName
Name of covariate for which values should be retrieved
getCovariateValue()
Returns the values defined in the population for the covariate named covariateName
and individual with id individualId
Population$getCovariateValue(covariateName, individualId)
covariateName
Name of covariate for which values should be retrieved
individualId
Id of individual for which the value for covariate covariateName
should be retrieved
getParameterValuesForIndividual()
Returns all values defined in the population the individual with id individualId
Population$getParameterValuesForIndividual(individualId)
individualId
Id of individual for which all values should be returned
remove()
Removes the value of a parameter by path
Population$remove(parameterPath)
parameterPath
Path of the parameter values to remove
print()
Print the object to the console
Population$print(...)
...
Rest arguments.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.