Learn R Programming

Example datasets for A Learning Guide to R

Thirty example datasets, including some classics, data obtained from literature, and original data contributed by researchers at the Hawkesbury Institute for the Environment.

Source

Many datasets arise from the R course at the Hawkesbury Institute for the Environment, still taught by Jeff Powell. Many other datasets were added, some original, and some from the UCI Machine Learning Repository (with some modifications).

The datasets are used in an upcoming book, A Learning Guide to R you can read the source here.

Installation

Not yet on CRAN, so do:

remotes::install_github("remkoduursma/lgrdata")

Usage

After the usual library(lgrdata), the data need to be loaded separately, for example:

data(anthropometry)

Type library(help=lgrdata) for a list of all included datasets, and inspect the help pages for details (and sometimes an example).

Copy Link

Version

Install

install.packages('lgrdata')

Monthly Downloads

242

Version

0.1.1

License

CC0

Maintainer

Remko Duursma

Last Published

June 19th, 2019

Functions in lgrdata (0.1.1)

masslost

Genetically modified soybean litter decomposition
callitrishydraulic

Cavitation resistance for Callitris branches
rain

Rain data
pupae

Pupae data
brunhild

A Baboon Named Brunhilda
hfeifplotmeans

I x F at the HFE - plot-level observations
hfeifbytree

I x F at the HFE - tree observations
hydro

Hydro dam storage data
sydney_hobart_times

Sydney to Hobart winning times
icecream

Icecream sales and temperature
anthropometry

Child anthropometry
dutchelection

Dutch election data
hfemet2008

Weather data at the Hawkesbury Forest Experiment
eucface_gasexchange

Leaf gas exchange at the EucFACE
howell

Howell height, age and weight data
memory

Memory of words dataset
coweeta

Coweeta tree data
pulse

Pulse Rates before and after Exercise
oil

Crude oil production
choat_precipp50

Choat's Plant Drought Tolerance
titanic

Passengers on the Titanic
wildmousemetabolism

Mouse metabolism
weightloss

Weight loss data
germination_water

Seed germination as affected by water
germination_fire

Seed germination as affected by fire
treecanopy

Tree canopy gradients in the Priest River Experimental Forest (PREF)
vessel

Xylem vessel diameters
allometry

Allometry
cereal1

Cereal nutrition data - small subset nr1
cereal2

Cereal nutrition data - small subset nr2
eucfacegc

EucFACE ground cover data
fluxtower

Fluxtower data
automobiles

Cars data
berkeley

Berkeley admissions data, 1973
cereals

Cereal nutrition data
cereal3

Cereal nutrition data - small subset nr3