Add the regression lines of \(y\) on \(x\) AND \(x\) on \(y\) to the plot. Optionally add the line obtained by allowing errors in both variables (Deming regression).
bothlines(x, y, Dem = FALSE, sdr = 1, col = "black", ...)Numeric vector
Numeric vector
Logical. Should the Deming regression line be added too?
Numeric. The assumed ratio of standard deviations used in the Deming regression.
Colour of the lines. Can be a vector of up to 3 elements, one for each line.
Additional arguments passed on to abline, which
does the actual plotting.
None.