get_set {ds4psy}R Documentation

Get a set of x-y coordinates.

Description

get_set obtains a set of x/y coordinates and returns it (as a data frame).

Usage

get_set(n = 1)

Arguments

n

Number of set (as an integer from 1 to 4)). Default: n = 1.

Details

Each set stems from Anscombe's Quartet (see datasets::anscombe, hence 1 <= n <= 4) and is returned as an 11 x 2 data frame.

Source

See ?datasets:anscombe for details and references.

See Also

Other data functions: make_grid()

Examples

get_set(1)
plot(get_set(2), col = "red")


[Package ds4psy version 1.0.0 Index]