Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

yearfrac

Time difference between two dates in fractional year terms


Description

Computes the time difference between date1 and date2 in fractional year terms. This is equivalent to the YEARFRAC() method from Excel, with the parameter "Actual/Actual"

Usage

yearfrac(date1, date2)

Arguments

date1

the first date

date2

the second date

Value

fractional years between date1 and date2


logib

Salary Analysis by the Swiss Federal Office for Gender Equality

v0.1.0
GPL-3
Authors
Jonathan Chassot [aut, cre], Jeremy Kolly [ctb], Federal Office for Gender Equality of Switzerland [cph, fnd]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.