get_age_risk_sex {epiCo} | R Documentation |
Auxiliary function to calculate the proportion by age according to the total population and sex
Description
Auxiliary function to calculate the proportion by age according to the total population and sex
Usage
get_age_risk_sex(age, sex_vector, pyramid, sex)
Arguments
age |
A vector with the ages of cases in years from 0 to 100 years |
sex_vector |
A vector with the sex of cases 'F' and 'M' |
pyramid |
A dataframe with the count of individuals |
sex |
A string specifying the sex being calculated |
Value
A dataframe with the proportion by age according to the total population and sex
[Package epiCo version 1.0.1 Index]