Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ID <- c("0001", "0003", "0002","0004","0005")
- YourName <- c("Juan", "Pedro", "Ana", "Alejandra","Alex")
- GenderPeople <- c("Male","Male","Female","Female","Male")
- DF <- data.frame(ID, YourName, GenderPeople)
- ID YourName GenderPeople_Male GenderPeople_Female
- 0001 Juan 1 0
- 0003 Pedro 1 0
- 0002 Ana 0 1
- 0004 Alejandra 0 1
- 0005 Alex 1 0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement