stat4DS_data: stat4DS_data

View source: R/stat4DS_data.R

stat4DS_dataR Documentation

stat4DS_data

Description

Retrieve data sets used in Foundations of Statistics for Data Scientists With R and Python (Agresti & Kateri, 2021) for use as demo/test data.

Usage

stat4DS_data(dat, preview = FALSE)

Arguments

dat

A length-one character vector; the name of a data set or 'all' to return names of all possible data sets.

preview

If TRUE, only return the first few rows of the data set; default is FALSE.

Value

A data set if dat is a data set name; console output (and NULL invisibly) if dat is 'all'.

Examples

stat4DS_data('Florida', preview = TRUE)
stat4DS_data('all')


jacob-gg/manager documentation built on July 2, 2024, 2:09 a.m.