I need to calculate the maturity of a bone using R and I've been looking for a function similar to DATEVALUE in Excel, but I didn't find something similar. I know that DATEVALUE use the amount of days between 01/01/1900 until the date, so maybe someone knows how to do this in R.
For example, in Excel DATEVALUE(01-01-1900)=1 and DATEVALUE(05-01-1900)=5. I want a similar function in R, to obtain que amount of days between one date and another.