plot_reg {packHV} | R Documentation |
Plots points with the corresponding linear regression line
plot_reg(x, y, pch = 19, xlab = NULL, ylab = NULL, ...)
x |
numeric vector |
y |
numeric vector |
pch |
type of points |
xlab |
character string, label of the x axis, |
ylab |
character string, label of the y axis, |
... |
other arguments to be passed in |
None
Hugo Varet
plot_reg(cgd$age,cgd$height,xlab="Age (years)",ylab="Height")