| N.dk | R Documentation |
The population size at 1st January in ages 0-99.
data(N.dk)
A data frame with 7200 observations on the following 4 variables.
sexSex, 1:males, 2:females
AAge. 0:0, 1:1, ..., 98:98, 99:99+
PYear
NNumber of persons alive at 1st January year P
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)))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.