grouping and change line types ggplot2 code example Example: linetype ggplot in r "dashed", "solid", "dotted", "blank", "twodash", "longdash", "dotdash"