Atur baris sesuai dengan vektor di r

#Arranging rows of df as a vector in r
df[match(target, df$name),]
Laughing Lobster