# Creating two atomic vectors
<- c(11, 9, 8, 10, 5)
cage <- c("boy", "boy", "girl", "boy", "girl")
cgender # Creating data frame
<- data.frame(age = cage, gender = cgender)
df # Print df
df
age gender
1 11 boy
2 9 boy
3 8 girl
4 10 boy
5 5 girl