addTicket: Add Ticket

View source: R/functions.R

addTicketR Documentation

Add Ticket

Description

Add a ticket to a ticket's list.

Usage

addTicket(pTickets)

Arguments

pTickets

Author(s)

Daniel Fernandes Henrique

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 (pTickets) 
{
    tryCatch({
        tickets <- getTickets()
        x <- c(tickets[1:NROW(tickets)], toupper(pTickets))
        write.csv(factor(x), file = "tickets.csv", row.names = FALSE)
    }, error = function(e) {
        print(e)
    })
  }

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