Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR R

arrange rows according to a vector in r

#Arranging rows of df as a vector in r
df[match(target, df$name),]
 
PREVIOUS NEXT
Tagged: #arrange #rows #vector
ADD COMMENT
Topic
Name
4+1 =