Learn R Programming

SamplingStrata (version 1.5-4)

swissframe: Dataframe containing information on all units in the population of reference that can be considered as the final sampling unit (this example is related to Swiss municipalities)

Description

Dataframe containing information on all municipalities in Swiss (it is a derivation of dataframe "swissmunicipalities" in "sampling" package)

Usage

data(swissframe)

Arguments

Format

The "swissframe" dataframe contains a row per each Swiss municipality with the following variables:

progr

Progressive associated to the frame unit (numeric)

id

Name of the frame unit (character)

X1

Classes of total population in the municipality (factor with 18 values)

X2

Classes of wood area in the municipality (factor with 3 values)

X3

Classes of area under cultivation in the municipality (factor with 3 values)

X4

Classes of mountain pasture area in the municipality (factor with 3 values)

X5

Classes of area with buildings in the municipality (factor with 3 values)

X6

Classes of industrial area in the municipality (factor with 3 values)

Y1

Number of men and women aged between 0 and 19 (numeric)

Y2

Number of men and women aged between 20 and 39 (numeric)

Y3

Number of men and women aged between 40 and 64 (numeric)

Y4

Number of men and women aged between 65 and over (numeric)

domainvalue

Value of domain to which the municipality belongs (factor or numeric)

Examples

Run this code
#data(swissframe)
#head(strata)

Run the code above in your browser using DataLab