To create a line chart in base R using plot function, we need to use type = "l" so that R understand the plot needs to have a line instead of points. If we want to increase the width of the line then lwd argument can be used. The value lwd = 0 is the default value for the width.
Consider the below vector and create the line chart −
Create the line chart with larger width of the line −
Create the line chart with very wide line −