SyntaxFix
Write A Post
Hire A Developer
Questions
Now that opts is deprecated in ggplot2 package, function theme should be used instead:
opts
ggplot2
theme
library(grid) # for unit() ... + theme(legend.key.height=unit(3,"line")) ... + theme(legend.key.width=unit(3,"line"))