Part 60 Linetype scales

Line type is like shape. You can specify line type for discrete and binned variables, but not continuous variables.

You can see a list of R’s built-in line types here. You can refer to line types by number or name.

R’s built-in line types:

Number Name
0 ‘blank’
1 ‘solid’
2 ‘dashed’
3 ‘dotted’
4 ‘dotdash’
5 ‘longdash’
6 ‘twodash’