join_function {DIETCOST}R Documentation

Join function

Description

Safely performs a left join between two dataframes.

Usage

join_function(df1, df2, condition)

Arguments

df1

First dataframe.

df2

Second dataframe.

condition

Column in which the two datframes will be joined. Can be a single string or a vector.

Value

Dataframe.


[Package DIETCOST version 1.0.0.0 Index]