Take two vectors, compute their mean and standard deviation, then plot the mean point with error bars along x- and y-axis.
points_sd(x, y, opt = c("mean", "mean"), fig, col, bg, cex = 2, name = "")
two numeric vectors, x in abscissa and y in coordinate.
two strings, equal to "mean"
or "median"
.
Indicate if the point should be plotted at mean(x), mean(y)
,
mean(x), median(y)
, median(x), mean(y)
or median(x), median(y)
.
two integers, indicating the symbol and the colour to use.
a string, indicating the colour background to use.
a numeric, indicating the size of symbol to plot.
a string, indicating the label to add near the point.
Nothing. It is a procedure.
None.