Skip to contents

Calculate the absolute difference between two dates in days

Usage

date_distance_fun(v1, v2, max_dist = 1)

Arguments

v1

first date

v2

second date

max_dist

maximum distance in days between the two dates

Value

a data frame with a single column include indicating whether the distance is within the maximum distance