Skip to contents

Textbook Functions

Larger functions (or variants thereof) from the textbook.

collatz()
Collatz Numbers
courtSim()
Appeals Court Simulation
courtSim2()
Appeals Court Simulation (Version 2)
drunkenSim()
Drunken-Turtle Simulation
drunkenSim2()
Drunken-Turtle Simulation (Graph Version)
numberNeededSim()
Number-Needed Simulation
triangleSim()
Chance of a Triangle
turtle_bounce()
Bouncing Turtle (Turtle Graphics)
turtle_drunk()
Drunken Turtle (Turtle Graphics)
make_val_tree()
Building Random Trees
ozLookup()
Look Up Words in the Wizard of Oz

Whales in the Ocean

R6 objects for simulating whales in an ocean.

Ocean
Whales in an Ocean
Whale Female Male
Whales in an Ocean

Data

A few data sets used in CSC 115 and 215.

fuel
Speed and Fuel Efficiency (British Ford Escort)
m111survey
MAT 111 Survey
NamePhone
Names and Phone Numbers
railtrail
Volume of Users of a Rail Trail

Misc

Functions used in other courses, and helpers for the textbook.

kdExplore()
Exploring Kernel Density Estimation
qqExplore()
Exploring Quantile-Quantile Plots
distExplore()
Exploring Major Probability Distributions
helpExtract()
Extract Portions from R Help Files for Use in Documents