scatter plot panel with the identity line

panel_scatter_abline with small dots

panel_scatter_abline with h and v lines at zero

panel_scatter_smallDots with h and v lines at zero

panel_cor(x, y)

panel_idenDist(x, y)

panel_scatter_abline(x, y, a = 0, b = 1, col = "red")

panel_scatter_abline_smallDots(x, y, a = 0, b = 1, col = "red")

panel_scatter_abhvline(x, y)

panel_scatter_smallDots_abhvline(x, y)

Arguments

x

a vector

y

a vector

a

a for abline

b

b for abline

col

col for abline

Author

Kevin Wang

Kevin Wang

Kevin Wang

Kevin Wang

Kevin Wang

Kevin Wang

Examples

pairs(iris[,-5], lower.panel = panel_cor)

pairs(iris[,-5],
upper.panel = panel_scatter_abline,
lower.panel = panel_idenDist)

pairs(iris[,-5],
lower.panel = panel_cor,
upper.panel = panel_scatter_abline)

pairs(iris[,-5],
lower.panel = panel_cor,
upper.panel = panel_scatter_abline_smallDots)

pairs(iris[,-5],
lower.panel = panel_cor,
upper.panel = panel_scatter_abhvline)

pairs(iris[,-5],
lower.panel = panel_cor,
upper.panel = panel_scatter_smallDots_abhvline)