Learn R Programming

HEAT (version 1.2)

read6city: Read data for six major cities in Korea

Description

read6city extracts a city-specific data set from mort data set.

Usage

read6city(data, code)

Arguments

data
data can be mort from data(mort).
code
code must be one of the following: 11 for Seoul, 23 for Incheon 25 for Daejeon 22 for Daegu 21 for Busan 24 for Gwangju

Examples

Run this code
data(mort)
seoul = read6city(mort, 11)

Run the code above in your browser using DataLab