I know I can create a plot with line and dots using the type = “o” argument in the plot command. I would like some more control over this — I want to be able to draw the “o” as full dots, with black border and fill-in color of my choice, of customized size and of a different color than the line. Same for the line, I want to make it thicker, and of my choice of color. How would I go on about doing that?
What I found until now is just a plain
plot(y, type= "o")
which is too poor for my needs.
I am not interested in using ggplot, but instead use the internal plot library of R.
Any help appreciated.
You could use layering (I don’t work in base too much any more as a social researcher I love the facet_grid of ggplot, so there may be a better way) as in:
Which gives you:
