Jika lagi berfungsi
#example if else to convert 0's and 1's to males and females respectively
#vector contains 0s and 1s
vector <- ifelse(vector==0,"Male","Female")
Laughing Lobster