Assume I have a data frame
df <- tibble(name = c("Mark", "Frank"), value1 = c(3,7), value2 = c(8,2)) name