I am having a data frame in R as follows:
df <- data.frame("Type" = c("Item A","Item B"), "Frequency" = c("Qua