filter_joined_df <- semi_join(df_filtered, df_filtered_by, by = "column_name") #If column-name is NOT identical in both dfs: filter_joined_df <- semi_join(df_filtered, df_filtered_by, by = c("df1_column_name" = "df2_column_name")
Preview:
downloadDownload PNG
downloadDownload JPEG
downloadDownload SVG
Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!
Click to optimize width for Twitter