get_set: Get a set of x-y coordinates.

View source: R/data_fun.R

get_setR 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")


ds4psy documentation built on Sept. 15, 2023, 9:08 a.m.