This post
aims to remind the options offered to customize a graph in base R.
Understand in a sec how to use lwd
, pch
,
type
, lty
, cex
, and
more.
Base R offers many option to customize the chart appearance. Basically everthing is doable with those few options:
cex
→ shape sizelwd
→ line widthcol
→ control colorslty
→ line typepch
→ marker shapetype
→ link between dots This document is a work of the statistics team in the Biostatistics and Medical Information Department at Saint-Louis Hospital in Paris (SBIM).
Based on The R Graph Gallery by Yan Holtz.