powered by
This function plots the age distribution of incident cases from the registry.
incidence_age_distribution(agedata, df = 10)
Vector of ages at diagnosis for each patient in the registry.
Degrees of freedom for the smooth.
Plot of the raw data and smoothed age distribution function.
Other incidence functions: incidence, mean_incidence_rate, plot.incidence, raw_incidence, test_incidence_fit, yearly_incidence
incidence
mean_incidence_rate
plot.incidence
raw_incidence
test_incidence_fit
yearly_incidence
# NOT RUN { data(prevsim) incidence_age_distribution(prevsim$age) incidence_age_distribution(prevsim$age, df=5) # }
Run the code above in your browser using DataLab