directlabels documentation

Welcome to the directlabels package documentation website, where you can find illustrations of how to use direct labels in common statistical graphics. Furthermore, you can learn how to construct Positioning Methods by looking at the examples.

All the examples on this site should be directly executable in R after installing and loading the directlabels package. To get started, execute this R code:

## Install required dependencies:
install.packages(c("ggplot2","reshape2","mlmRev","lars","latticeExtra"))
## Install directlabels:
install.packages("directlabels")
## Load it:
library(directlabels)
Examples Positioning Methods
contourplot environmental.bottom.pieces volcano.bottom.pieces bottom.pieces
top.pieces
densityplot chemscore.top.bumptwice iris.top.bumptwice loci.top.bumptwice top.bumptwice
top.bumpup
top.points
dotplot vadeaths-lattice.angled.endpoints vadeaths.angled.endpoints angled.endpoints
top.qp
lineplot bodyweight.angled.boxes chemqqmathscore.angled.boxes chemqqmathsex.angled.boxes lars.angled.boxes projectionSeconds.angled.boxes ridge.angled.boxes sexdeaths.angled.boxes angled.boxes
first.bumpup
first.points
first.polygons
first.qp
lasso.labels
last.bumpup
last.points
last.polygons
last.qp
lines2
maxvar.points
maxvar.qp
scatterplot class-manufacturer.ahull.grid cylinders.ahull.grid iris.ahull.grid mpglattice.ahull.grid mpg.ahull.grid path.ahull.grid ahull.grid
chull.grid
extreme.grid
smart.grid
utility.function ahull.points
apply.method
big.boxes
bumpup
calc.borders
calc.boxes
check.for.columns
chull.points
default.ahull
dl.combine
dl.jitter
dl.move
dl.summarize
dl.trans
draw.polygons
draw.rects
edges.to.outside
empty.grid
enlarge.box
extreme.points
far.from.others.borders
gapply
gapply.fun
get.means
ignore.na
in1box
in1which
inside
label.endpoints
label.pieces
make.tiebreaker
midrange
only.unique.vals
outside.ahull
outside.chull
polygon.method
project.onto.segments
qp.labels
reduce.cex.lr
static.labels
vertical.qp
visualcenter
xlimits
ylimits
Please contact Toby Dylan Hocking if you are using directlabels or have ideas to contribute, thanks!
Documentation website generated from source code version 2021.2.24 (git revision bb6db07 Mon, 14 Jun 2021 22:38:45 +0530) using inlinedocs.
validate