These functions join lists by matching elements by name. In the case of
lst_left_join
lst_x
is used as reference for traversal and its
names are looked for in lst_y
for joining. In the case of
lst_left_join
, lst_y
is used as reference.
lst_inner_join
only uses names common to both lst_x
and
lst_y
for combining elements.
lst_left_join(lst_x, lst_y)lst_right_join(lst_x, lst_y)
lst_inner_join(lst_x, lst_y)
plst_left_join(list_of_lsts)
plst_right_join(list_of_lsts)
plst_inner_join(list_of_lsts)
A list.
lists.
A list of lists to be joined together.
The functions plst_left_join
, plst_right_join
and
plst_inner_join
are parallel versions that allow joining more than two
lists easily, i.e., just pass a list of lists to be joined.