Change the legend position

p + theme(legend.position="top")
p + theme(legend.position="bottom")
# Remove legend
p + theme(legend.position="none")


The allowed values for the arguments legend.position are : "left","top", "right", "bottom".