Section 16 Graphics parameter: linetype
The ggplot2 graphics parameter linetype is equivalent to the base graphics parameter lty.
16.1 Line Type (linetype)
- The ggplot2 line type (
linetype) can be specified using:- text: blank, solid, dashed, dotted, dotdash, longdash, twodash
- number: 0, 1, 2, 3, 4, 5, 6
- Hence,
linetype = solidis identical tolinetype = 1
16.2 linetype by Number & Text