I've been looking all over the internet about how to fix this but no luck. Everything I've tried just ends up creating another legend.
How do I get it so that my legend is either inside or outside of the graph (not half in and half out)?
Also, how do I change the font size just for the legend?
Thanks so much in advance!
interaction.plot(x.factor = Icecream$Size, trace.factor = Icecream$Flavour, response = Icecream$Strength,
ylab = "Hand grip strength (kg)",
xlab = "Ice cream size",
col=c("orange", "pink", "blue"),
lty = 1, #line type
trace.label = "Flavour")