zrecode: recode lai bien chuoi ban dau

Usage Arguments Examples

View source: R/zrecode.r

Usage

1
zrecode(varName, dName, dtafile = NULL)

Arguments

varName

te^n bie^'n

dName

te^n dataset

dtafile

te^n ta^.p tin csv (bo? underscore o+? dda^'u va' .csv

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
##---- Should be DIRECTLY executable !! ----
##-- ==>  Define data, use random,
##--	or do  help(data=index)  for the standard data sets.

## Lenh sau day nham ma hoa lai cac chuoi cua bien emp2 trong dataset solieu
## Quy tac bien doi nam trong tap tin csv _danhsachkhangsinh.csv
## zrecode("emp2","solieu","danhsachkhangsinh")
## tab(~emp2,data=solieu)

## Lenh sau day nham ma hoa lai cac chuoi cua bien lydo trong dataset solieu
## Quy tac bien doi nam trong tap tin csv _lydo.csv
## zrecode("lydo","solieu")
## tab(~emp2,data=solieu)

gvdovandzung/thongke documentation built on May 23, 2020, 12:35 a.m.