get_characteristics.population {IBMPopSim}R Documentation

Returns names and C types of the characteristics.

Description

Returns names and C types of the characteristics (other than birth and death) of the individuals in a population, from a population data frame.

Usage

## S3 method for class 'population'
get_characteristics(object, ...)

Arguments

object

Object of population class representing a population.

...

additional arguments.

Value

Named vector composed of characteristics names and C types. If the population has no characteristics, which means that it has only the birth and death columns, this returns NULL.

Examples

get_characteristics(population(EW_pop_14$sample))


[Package IBMPopSim version 1.0.0 Index]