Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

dottodot

Dot-to-dot puzzle


Description

A set of points to make a dot-to-dot puzzle

Usage

data(dottodot)

Format

A data frame with 49 observations on the following 4 variables.

x

x position

y

y position

pos

where to put label

ind

number for label

Details

Points to make a dot to dot puzzle to illustrate, text, points, and the argument pos.

Source

Illustration by Noah Verzani.

Examples

data(dottodot)
# make a blank graph
plot(y~x,data=dottodot,type="n",bty="n",xaxt="n",xlab="",yaxt="n",ylab="")
# add the points
points(y~x,data=dottodot)
# add the labels using pos argument
with(dottodot, text(x,y,labels=ind,pos=pos))
# solve the puzzle
lines(y~x, data=dottodot)

UsingR

Data Sets, Etc. for the Text "Using R for Introductory Statistics", Second Edition

v2.0-6
GPL (>= 2)
Authors
John Verzani <verzani@math.csi.cuny.edu>
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.