The easiest way to draw a legend outside of a plot in base R is to add extra space to the right of the plot by using the following syntax:
確定! 回上一頁