getTicketsFromDaysAgo: Get Tickets from a given number of days ago.

View source: R/functions.R

getTicketsFromDaysAgoR Documentation

Get Tickets from a given number of days ago.

Usage

getTicketsFromDaysAgo(df, from)

Arguments

df
from

Examples

##---- Should be DIRECTLY executable !! ----
##-- ==>  Define data, use random,
##--	or do  help(data=index)  for the standard data sets.

## The function is currently defined as
function (df, from) 
{
    lastYear <- as.Date(getLastTicket(df)$Date) - from
    return(getTicketsObsFromDateRate(df, lastYear, Sys.Date()))
  }

danielfhenrique789/profitmaximization documentation built on April 5, 2025, 4:05 p.m.