# Creating dataframe
data = data.frame(
ID = 1:10,
Name = c("John", "Alice", "Bob", "Emily", "David", "Sophia", "Michael",
"Emma", "Daniel", "Olivia"),
Age = c(25, 30, 22, 35, 28, 27, 40, 33, 29, 31),
Gender = c("M", "F", "M", "F", "M", "F", "M", "F", "M", "F"),
stringsAsFactors = FALSE
)
print("creating data frame with 10 rows")
print(data)