custom_left_join {RareComb}R Documentation

Perform successive left joins to fetch information about the constituent elements of the combinations

Description

Fetching the frequency of multiple individual elements that make up the combinations of varying length and hence varying variable names or to join two similar data frames using identical variable names necessitates this function that supplements and joins data based on the length of the combinations.

Usage

custom_left_join(
  left_df,
  right_df,
  combo_length = combo_length,
  diff_colnames = diff_colnames
)

Arguments

left_df

The data frame with information about the combinations

right_df

The data frame with information either about the combinations or their constituent elements

combo_length

The length of the combinations specified by the user used to determine the number of successive joins to attempt

diff_colnames

Indicator that specifies if the joins are to be made based on same or different column names

Value

An output dataframe with the results of the join operation

Author(s)

Vijay Kumar Pounraja


[Package RareComb version 1.1 Index]