Learn R Programming

Epi (version 2.7)

N.dk: Population size in Denmark

Description

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

Usage

data(N.dk)

Arguments

Format

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

Examples

Run this code
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)))

Run the code above in your browser using DataLab