vgrabovets
10/21/2016 - 2:04 PM

outlier labels boxplot

outlier labels boxplot

ggplot(outliers, aes(amount, total_purchases, group = amount)) +
     geom_boxplot(outlier.shape = NA) +
     geom_text(data = filter(outliers, outlier == 1), aes(amount, total_purchases, label = title)) +
     labs(x = "цена",
          y = "продажи за 30 дней, шт.")