R/model.R
get_characteristics.population.Rd
Returns names and C types of the characteristics (other than birth and death) of the individuals in a population, from a population data frame.
# S3 method for class 'population'
get_characteristics(object, ...)
Object of population class representing a population.
additional arguments.
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
.
get_characteristics(population(EW_pop_14$sample))
#> male
#> "bool"