directlabels: Direct labels for multicolor plots in lattice or ggplot2

Share:

An extensible framework for automatically placing direct labels onto multicolor lattice or ggplot2 plots. Label positions are described using Positioning Methods which can be re-used across several different plots. There are heuristics for examining "trellis" and "ggplot" objects and inferring an appropriate Positioning Method.

Author
Toby Dylan Hocking
Date of publication
2014-06-13 19:11:56
Maintainer
Toby Dylan Hocking <toby@sg.cs.titech.ac.jp>
License
GPL-3
Version
2014.6.13
URLs

View on R-Forge

Man pages

ahull.grid
ahull grid
ahull.points
ahull points
angled.boxes
angled boxes
angled.endpoints
angled endpoints
apply.method
Apply a Positioning Method
big.boxes
big boxes
bottom.pieces
bottom pieces
bumpup
bumpup
calc.borders
calc borders
calc.boxes
calc boxes
check.for.columns
check for columns
chull.grid
chull grid
chull.points
chull points
default.ahull
default ahull
defaultpf.ggplot
defaultpf ggplot
defaultpf.trellis
defaultpf trellis
default.picker
default picker
direct.label
Direct labels for color decoding
direct.label.ggplot
direct label ggplot
directlabels-package
Direct labels for multicolor plots in lattice or ggplot2
direct.label.trellis
direct label trellis
dl.combine
Combine output of several methods
dlcompare
Direct label comparison plot
dldoc
Make directlabels documentation
dlgrob
dlgrob
dl.jitter
dl jitter
dl.move
Manually move a direct label
dl.summarize
dl summarize
dl.trans
Direct label data transform
drawDetails.dlgrob
drawDetails dlgrob
draw.polygons
draw polygons
draw.rects
draw rects
edges.to.outside
edges to outside
empty.grid
empty grid
enlarge.box
enlarge box
extract.plot
Extract plot and definition for documentation
extract.posfun
Extract Positioning Method for documentation
extreme.grid
extreme grid
extreme.points
extreme points
far.from.others.borders
far from others borders
filltemplate
filltemplate
first.bumpup
first bumpup
first.points
first points
first.polygons
first polygons
first.qp
first qp
gapply
gapply
gapply.fun
Direct label groups independently
geom_dl
geom dl
getLegendVariables
getLegendVariables
get.means
get means
ignore.na
ignore na
in1box
in1box
in1which
in1which
inside
inside
iris.l1.cluster
Clustering of the iris data with the l1 clusterpath
label.endpoints
label endpoints
label.pieces
label pieces
lasso.labels
lasso labels
last.bumpup
last bumpup
last.points
last points
last.polygons
last polygons
last.qp
last qp
lattice.translators
lattice translators
legends2hide
legends2hide
lines2
lines2
make.tiebreaker
make tiebreaker
maxvar.points
maxvar points
maxvar.qp
maxvar qp
merge_recurse
merge recurse
midrange
midrange
normal.l2.cluster
Clustering of some normal data in 2d with the l2 clusterpath
only.unique.vals
only unique vals
outside.ahull
outside ahull
outside.chull
outside chull
panel.superpose.dl
panel superpose dl
polygon.method
polygon method
positioning.functions
Built-in Positioning Methods for direct label placement
projectionSeconds
Timings of projection algorithms
project.onto.segments
project onto segments
qp.labels
Make a Positioning Method for non-overlapping lineplot labels
reduce.cex.lr
reduce cex lr
rhtmlescape
rhtmlescape
SegCost
Cost of segmentation models
smart.grid
smart grid
static.labels
static labels
svmtrain
False positive rates from several 1-SVM models
top.bumptwice
top bumptwice
top.bumpup
top bumpup
top.pieces
top pieces
top.points
top points
top.qp
top qp
uselegend.ggplot
uselegend ggplot
uselegend.trellis
uselegend trellis
vertical.qp
vertical qp
visualcenter
visualcenter
xlimits
xlimits
ylimits
ylimits

Files in this package

directlabels/DESCRIPTION
directlabels/NAMESPACE
directlabels/NEWS
directlabels/R
directlabels/R/compare.R
directlabels/R/contourplot.R
directlabels/R/densityplot.R
directlabels/R/doc.R
directlabels/R/dotplot.R
directlabels/R/ggplot2.R
directlabels/R/lattice.R
directlabels/R/lineplot.R
directlabels/R/positioning.functions.R
directlabels/R/scatterplot.R
directlabels/R/utility.function.R
directlabels/data
directlabels/data/SegCost.RData
directlabels/data/iris.l1.cluster.RData
directlabels/data/normal.l2.cluster.RData
directlabels/data/projectionSeconds.RData
directlabels/data/svmtrain.RData
directlabels/etc
directlabels/etc/ackley-lane.R
directlabels/etc/area.R
directlabels/etc/arrows.R
directlabels/etc/byhand.R
directlabels/etc/cancer.R
directlabels/etc/concours.R
directlabels/etc/concours.csv
directlabels/etc/contour.R
directlabels/etc/dens-params.R
directlabels/etc/dens2d.R
directlabels/etc/flags
directlabels/etc/flags/Makefile
directlabels/etc/flags/README
directlabels/etc/flags/download.R
directlabels/etc/flags/functions.R
directlabels/etc/flags/grConvert.R
directlabels/etc/flags/index-template.html
directlabels/etc/flags/plotflags.R
directlabels/etc/flags/runall.sh
directlabels/etc/flags/svg-labels.R
directlabels/etc/flags/svg2ps.py
directlabels/etc/flags/svg2ps_csv.py
directlabels/etc/flags/table.R
directlabels/etc/flags/trace.R
directlabels/etc/gabor.R
directlabels/etc/grid-text
directlabels/etc/grid-text/nonlinear-cex-box.R
directlabels/etc/grid-text/reduce.cex.R
directlabels/etc/grid-text/reduction-works.R
directlabels/etc/individual.R
directlabels/etc/iris-images
directlabels/etc/iris-images/image-labels.R
directlabels/etc/lattice-custom-colors.R
directlabels/etc/lda-curves.R
directlabels/etc/lineplot.R
directlabels/etc/lines-data.R
directlabels/etc/lines-data.txt
directlabels/etc/logscale.R
directlabels/etc/multi.R
directlabels/etc/outside.R
directlabels/etc/panels.R
directlabels/etc/point-labelling.r
directlabels/etc/polygons.R
directlabels/etc/projectionSeconds.R
directlabels/etc/proportions.R
directlabels/etc/proportions.txt
directlabels/etc/rod.R
directlabels/etc/rod.txt
directlabels/etc/spacing.R
directlabels/etc/tikz-text-bounding-box-bug.R
directlabels/etc/tikz-text-bounding-box-simple.R
directlabels/etc/time-series-overlap.R
directlabels/etc/users.org
directlabels/etc/xYplot.R
directlabels/etc/xYplot.txt
directlabels/etc/zoo.R
directlabels/man
directlabels/man/SegCost.Rd
directlabels/man/ahull.grid.Rd
directlabels/man/ahull.points.Rd
directlabels/man/angled.boxes.Rd
directlabels/man/angled.endpoints.Rd
directlabels/man/apply.method.Rd
directlabels/man/big.boxes.Rd
directlabels/man/bottom.pieces.Rd
directlabels/man/bumpup.Rd
directlabels/man/calc.borders.Rd
directlabels/man/calc.boxes.Rd
directlabels/man/check.for.columns.Rd
directlabels/man/chull.grid.Rd
directlabels/man/chull.points.Rd
directlabels/man/default.ahull.Rd
directlabels/man/default.picker.Rd
directlabels/man/defaultpf.ggplot.Rd
directlabels/man/defaultpf.trellis.Rd
directlabels/man/direct.label.Rd
directlabels/man/direct.label.ggplot.Rd
directlabels/man/direct.label.trellis.Rd
directlabels/man/directlabels-package.Rd
directlabels/man/dl.combine.Rd
directlabels/man/dl.jitter.Rd
directlabels/man/dl.move.Rd
directlabels/man/dl.summarize.Rd
directlabels/man/dl.trans.Rd
directlabels/man/dlcompare.Rd
directlabels/man/dldoc.Rd
directlabels/man/dlgrob.Rd
directlabels/man/draw.polygons.Rd
directlabels/man/draw.rects.Rd
directlabels/man/drawDetails.dlgrob.Rd
directlabels/man/edges.to.outside.Rd
directlabels/man/empty.grid.Rd
directlabels/man/enlarge.box.Rd
directlabels/man/extract.plot.Rd
directlabels/man/extract.posfun.Rd
directlabels/man/extreme.grid.Rd
directlabels/man/extreme.points.Rd
directlabels/man/far.from.others.borders.Rd
directlabels/man/filltemplate.Rd
directlabels/man/first.bumpup.Rd
directlabels/man/first.points.Rd
directlabels/man/first.polygons.Rd
directlabels/man/first.qp.Rd
directlabels/man/gapply.Rd
directlabels/man/gapply.fun.Rd
directlabels/man/geom_dl.Rd
directlabels/man/get.means.Rd
directlabels/man/getLegendVariables.Rd
directlabels/man/ignore.na.Rd
directlabels/man/in1box.Rd
directlabels/man/in1which.Rd
directlabels/man/inside.Rd
directlabels/man/iris.l1.cluster.Rd
directlabels/man/label.endpoints.Rd
directlabels/man/label.pieces.Rd
directlabels/man/lasso.labels.Rd
directlabels/man/last.bumpup.Rd
directlabels/man/last.points.Rd
directlabels/man/last.polygons.Rd
directlabels/man/last.qp.Rd
directlabels/man/lattice.translators.Rd
directlabels/man/legends2hide.Rd
directlabels/man/lines2.Rd
directlabels/man/make.tiebreaker.Rd
directlabels/man/maxvar.points.Rd
directlabels/man/maxvar.qp.Rd
directlabels/man/merge_recurse.Rd
directlabels/man/midrange.Rd
directlabels/man/normal.l2.cluster.Rd
directlabels/man/only.unique.vals.Rd
directlabels/man/outside.ahull.Rd
directlabels/man/outside.chull.Rd
directlabels/man/panel.superpose.dl.Rd
directlabels/man/polygon.method.Rd
directlabels/man/positioning.functions.Rd
directlabels/man/project.onto.segments.Rd
directlabels/man/projectionSeconds.Rd
directlabels/man/qp.labels.Rd
directlabels/man/reduce.cex.lr.Rd
directlabels/man/rhtmlescape.Rd
directlabels/man/smart.grid.Rd
directlabels/man/static.labels.Rd
directlabels/man/svmtrain.Rd
directlabels/man/top.bumptwice.Rd
directlabels/man/top.bumpup.Rd
directlabels/man/top.pieces.Rd
directlabels/man/top.points.Rd
directlabels/man/top.qp.Rd
directlabels/man/uselegend.ggplot.Rd
directlabels/man/uselegend.trellis.Rd
directlabels/man/vertical.qp.Rd
directlabels/man/visualcenter.Rd
directlabels/man/xlimits.Rd
directlabels/man/ylimits.Rd
directlabels/tests
directlabels/tests/doc
directlabels/tests/doc/contourplot
directlabels/tests/doc/contourplot/environmental.R
directlabels/tests/doc/contourplot/volcano.R
directlabels/tests/doc/densityplot
directlabels/tests/doc/densityplot/chemscore.R
directlabels/tests/doc/densityplot/iris.R
directlabels/tests/doc/densityplot/loci.R
directlabels/tests/doc/dotplot
directlabels/tests/doc/dotplot/vadeaths-lattice.R
directlabels/tests/doc/dotplot/vadeaths.R
directlabels/tests/doc/lineplot
directlabels/tests/doc/lineplot/bodyweight.R
directlabels/tests/doc/lineplot/chemqqmathscore.R
directlabels/tests/doc/lineplot/chemqqmathsex.R
directlabels/tests/doc/lineplot/lars.R
directlabels/tests/doc/lineplot/projectionSeconds.R
directlabels/tests/doc/lineplot/ridge.R
directlabels/tests/doc/lineplot/sexdeaths.R
directlabels/tests/doc/scatterplot
directlabels/tests/doc/scatterplot/class-manufacturer.R
directlabels/tests/doc/scatterplot/cylinders.R
directlabels/tests/doc/scatterplot/iris.R
directlabels/tests/doc/scatterplot/mpg.R
directlabels/tests/doc/scatterplot/mpglattice.R
directlabels/tests/doc/scatterplot/path.R
directlabels/tests/ggplot.R