Orders the observations by x and thereafter plots y on x and connects observations of the same group by lines.
Useful, for example, to plot a longitudinal dataset.
Boolean. Whether a loess smoother to be added onto the plot.
add
Boolean. Whether to add to an existing plot or to open a new window.
Value
Used for its side effects.
Details
The observations within the group are connected at the increasing order of x.
References
Mehtatalo, Lauri and Lappi, Juha 2020. Biometry for Forestry and Environmental Data: with examples in R.
New York: Chapman and Hall/CRC. 426 p. 10.1201/9780429173462