TropFishR (version 1.6.2)

date2yeardec: Date - Year conversion

Description

Convert dates to numeric years with decimal as fraction of a year

Usage

date2yeardec(date)

Arguments

date

a date (class 'Date')

Value

a scalar (class 'numeric')

Examples

Run this code
# NOT RUN {
date2yeardec(Sys.Date())

# }

Run the code above in your browser using DataLab