~/ learn/ afm-112/ cards/ Keys, inner vs left, unmatched rows
1 of 9

In R, type the inner join of lines and products on sku.

In R, type the inner join of lines and products on sku.

Answer

merge(lines, products, by = "sku")

The default all = FALSE keeps only keys present in both tables: 4 rows, D400 dropped, sorted by sku.

space flip · ← → navigate · esc to exit
NORMAL ~/memra/library/fc53356f-a52c-4ab9-964c-2ba0b50c284b/flashcard utf-8 LF