Modify boxplot using sparkline package
问题 I am using the sparkline package to insert the boxplot into the DT table rows. I trying to modify the boxplot and add additional information on it. Now boxplots look like this: But I want to display more information on them, for example: for A add values: (4,8,22) for B add values: (5,15,22) The desired output should look something like this: I was trying to use help from here and here but can't figure it out. Code: library(dplyr) library(sparkline) library(DT) df <- data.frame("Type" = c(rep