get_set: Get a set of x-y coordinates (from Anscombe's Quartet)

View source: R/data_fun.R

get_setR Documentation

Get a set of x-y coordinates (from Anscombe's Quartet)

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


hneth/ds4psy documentation built on Feb. 17, 2025, 6:05 p.m.