Usage
scatterPlot(x, y, pointsize = 3, theme = theme_bw(), regrLine = FALSE, regrCI = FALSE, regrLineCol = "blue", regrCIcol = regrLineCol, regrCIalpha = 0.25, width = 0, height = 0, position = "identity", ...)
Arguments
x
The variable to plot on the X axis.
y
The variable to plot on the Y axis.
pointsize
The size of the points in the scatterplot.
regrLine
Whether to show the regression line.
regrCI
Whether to display the confidence interval around the regression line.
regrLineCol
The color of the regression line.
regrCIcol
The color of the confidence interval around the regression line.
regrCIalpha
The alpha value (transparency) of the confidence interval around the regression line.
width
If position
is 'jitter', the points are 'jittered': some random noise is added to change their location slightly. In that case 'width' can be set to determine how much the location should be allowed to vary on the X axis.
height
If position
is 'jitter', the points are 'jittered': some random noise is added to change their location slightly. In that case 'height' can be set to determine how much the location should be allowed to vary on the Y axis.
position
Whether to 'jitter' the points (adding some random noise to change their location slightly, used to prevent overplotting). Set to 'jitter' to jitter the points.