Plot a Step Function in Base R and ggplot2 ... adding points to the plot. points(x, f(x), pch = 18) # pch specifies the shape of the points.
確定! 回上一頁