In R, you can use the legend() function can be used to add a legend to a basic R graph. Example 1: data(mtcars). help(mtcars). mtcars$cyl <- factor(mtcars$cyl).
確定! 回上一頁