I am having a data frame in R as follows:
structure(list(firstpurchaseMonth = c("January 2019", "January 2019", "January 2019",