changeCode: Change hangul code of colnames and columns of a given...

Description Usage Arguments Value Examples

View source: R/areacode.R

Description

Change hangul code of colnames and columns of a given data.frame

Usage

1
2
changeCode(popdata, from = "UTF-8", to = "CP949", change.colnames = TRUE,
  cols = NULL)

Arguments

popdata

A data.frame

from

from A character string describing the current encoding.

to

A character string describing the target encoding.

change.colnames

If true, change the code of colnames of the given data.frame

cols

A integer vector specify the columns to be converted

Value

A converted data.frame

Examples

1
changeCode(areacode,cols=2:3)

cardiomoon/kormaps2014 documentation built on May 11, 2017, 11:01 p.m.