IBMPopSim (version 0.3.0)

get_characteristics: Returns names and C types of the characteristics.

Description

Returns names and C types of the characteristics of the individuals in a population, from a population data frame.

Usage

get_characteristics(population)

Arguments

population

Population data frame: characteristics in columns and individuals in rows. At least two columns birth (dates of birth) and death (dates of death) are required.

Value

Named vector composed of characteristics names and C types.

Examples

Run this code
# NOT RUN {
get_characteristics(EW_pop_14$sample)

# }

Run the code above in your browser using DataCamp Workspace