I want to separate "money", "income" and "loan" on separates rows. I mean, I want to get this :
My first thought was : replicate the row and then remove extra value to get the desire result. I got this :

But I'm stuck to remove value in red. How can we do that ?
This is my code :
mydata = data.frame(
name = "Vince",
date = "16/05/1977",
money = 20,
city = "NY",
income = 100,
country = "USA",
car = "Porsche",
loan = 250
)
duplicated_data = do.call("rbind", replicate(3, mydata, simplify = FALSE))
Some help would be appreciated

