Produces a scatter plot in which the axes are labelled with the respective five number summaries of the horizontal and vertical axis data.

scatter(x, y, ndec = 1, type = 6, na.rm = FALSE, ...)

Arguments

x

The argument x of plot.

y

The argument x of plot.

ndec

A numeric vector. The numbers of decimal places to which to round the five number summaries. If ndec is a scalar then this value is used for both axes.

type

Argument type used in the call to five_number to estimate the 25%, 50% and 75% quantiles.

na.rm

A logical scalar. If true, any NA and NaNs are removed before the sample quantiles are computed.

...

Further arguments to be passed to plot.

Value

Nothing, just the plot.

Examples

x <- rnorm(100)
y <- rnorm(100)
scatter(x, y)