R Tip: Use match_order() to Align Data
Win-Vector Blog 2018-04-10
Summary:
R tip. Use wrapr::match_order() to align data. Suppose we have data in two data frames, and both of these data frames have common row-identifying columns called “idx“. library("wrapr") d1 <- build_frame( "idx", "x" | 3 , "a" | 1 , "b" | 2 , "c" ) d2 <- build_frame( "idx", "y" | 2 , "D" … Continue reading R Tip: Use
match_order()
to Align Data