# NOT RUN {
## using infert dataset
data(infert)
# renaming one variable
infert.new <- rename(infert, age, AGE)
codebook(infert.new)
# renaming a group of variables
infert.new <- rename(infert,
c(age, parity, induced, case),
c(AGE, PARITY, INDUCED, CASE))
codebook(infert.new)
# }
Run the code above in your browser using DataLab