Does anyone know how to ensure that all the labels fit into the frame or expand the it beyond the chart without having the labels cut off?
Would also love to know how i can adjust the position of the label boxes and if there's any way to wrap text around the box so it's not occupying the entire row.
ggplot(convo4_merge, aes(x=call_record , y=sentiment_score, color = currently_speaking)) +
geom_line() +
ggtitle("Sentiment Analysis for Conversation 4") +
geom_label_repel(data=subset(convo4_merge, sentiment_score >0.85 | sentiment_score < -0.80), aes(label=split_transcript), box.padding =unit(0.5,"lines"), point.padding= unit(0.3, "lines"), segment.size=0.2, segment.color= 'grey50') + theme_classic( )