plot_reg {packHV} | R Documentation |
Plot points with the corresponding linear regression line
Description
Plots points with the corresponding linear regression line
Usage
plot_reg(x, y, pch = 19, xlab = NULL, ylab = NULL, ...)
Arguments
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 |
Value
None
Author(s)
Hugo Varet
Examples
plot_reg(cgd$age,cgd$height,xlab="Age (years)",ylab="Height")
[Package packHV version 2.2 Index]