Learn R Programming

dslabs

Copy Link

Version

Install

install.packages('dslabs')

Monthly Downloads

11,554

Version

0.9.1

License

Artistic-2.0

Maintainer

Rafael Irizarry

Last Published

December 2nd, 2025

Functions in dslabs (0.9.1)

read_mnist

Download and read the mnist dataset
mnist_127

Useful example for illustrating generative models based on MNIST data
pr_death_counts

Puerto Rico daily mortality
mnist_27

Useful example for illustrating machine learning algorithms based on MNIST data
mice_weights

Mice weights
results_us_election_2012

2012 US presidential election results
take_poll

Models results from taking a poll
stars

Physical Properties of Stars
reported_heights

Self-reported Heights
research_funding_rates

Gender bias in research funding in the Netherlands
us_contagious_diseases

Contagious disease data for US states
trump_tweets

Trump Tweets from2009 to 2017
rfalling_object

Simulate falling object data
tissue_gene_expression

Gene expression profiles for 189 biological samples taken from seven different tissue types.
temp_carbon

Global temperature anomaly and carbon emissions, 1751-2018
polls_2008

Poll data for popular vote in 2008 presidential election
murders

US gun murders by state for 2010
polls_us_election_2016

Fivethirtyeight 2016 Poll Data
movielens

Movie ratings
admissions

Gender bias among graduate school admissions to UC Berkeley.
brexit_polls

Brexit Poll Data
fit_recommender_model

Fit a Latent Factor Recommender Model via Alternating Least Squares
ds_theme_set

dslabs theme set
outlier_example

Adult male heights in feet with outliers
olive

Italian olive
gapminder

Gapminder Data
greenhouse_gases

Greenhouse gas concentrations over 2000 years
nyc_regents_scores

NYC Regents exams scores 2010
na_example

Count data with some missing values
heights

Self-reported Heights in Inches
historic_co2

Atmospheric carbon dioxide concentration over 800,000 years
death_prob

2015 US Period Life Table
divorce_margarine

Divorce rate and margarine consumption data
brca

Breast Cancer Wisconsin Diagnostic Dataset from UCI Machine Learning Repository