Population size in Denmark

Share:

Description

The population size at 1st January in ages 0-99.

Usage

1
data(N.dk)

Format

A data frame with 7200 observations on the following 4 variables.

sex

Sex, 1:males, 2:females

A

Age. 0:0, 1:1, ..., 98:98, 99:99+

P

Year

N

Number of persons alive at 1st January year P

Source

http://www.statistikbanken.dk/statbank5a/SelectTable/omrade0.asp?SubjectCode=02&PLanguage=1&ShowNews=OFF

Examples

1
2
3
4
data(N.dk)
str(N.dk)
with(N.dk,addmargins(tapply(N,list(P,sex),sum),2))
with(subset(N.dk,P==max(P)),addmargins(tapply(N,list(A,sex),sum)))

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.