getFinancialWeekFromDate: Get the Financial Week from a particular Date (Not working...

Description Usage Arguments Value Examples

View source: R/featureEngineering.R

Description

Get the Financial Week from a particular Date (Not working yet!) This is used for the extractDateFeatures default function for retrieving the financial year. Based on the financial year starting on 1st July of every year.

Usage

1

Arguments

date

A date containing a vector of dates to compute the financial year for.

Value

The financial year associated to each date.

Examples

1
2
getFinancialWeekFromDate(as.Date("01/07/2016","%d/%m/%Y"))
getFinancialWeekFromDate(as.Date("26/06/2016","%d/%m/%Y"))

ivanliu1989/RQuant documentation built on Sept. 13, 2019, 11:53 a.m.