directlabels: Direct Labels for Multicolor Plots

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.

Install the latest version of this package by entering the following in R:
install.packages("directlabels")
AuthorToby Dylan Hocking
Date of publication2017-04-08 20:37:04 UTC
MaintainerToby Dylan Hocking <toby.hocking@r-project.org>
LicenseGPL-3
Version2017.03.31
http://directlabels.r-forge.r-project.org/

View on CRAN

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

GeomDl: GeomDl

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

pkgFun: pkgFun

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

Functions

ahull.grid Man page
ahull.points Man page
angled.boxes Man page
angled.endpoints Man page
apply.method Man page
big.boxes Man page
bottom.pieces Man page
bumpup Man page
calc.borders Man page
calc.boxes Man page
check.for.columns Man page
chull.grid Man page
chull.points Man page
default.ahull Man page
defaultpf.ggplot Man page
defaultpf.trellis Man page
default.picker Man page
direct.label Man page
direct.label.ggplot Man page
directlabels Man page
directlabels-package Man page
direct.label.trellis Man page
dl.combine Man page
dlcompare Man page
dldoc Man page
dlgrob Man page
dl.jitter Man page
dl.move Man page
dl.summarize Man page
dl.trans Man page
drawDetails.dlgrob Man page
draw.polygons Man page
draw.rects Man page
edges.to.outside Man page
empty.grid Man page
enlarge.box Man page
extract.plot Man page
extract.posfun Man page
extreme.grid Man page
extreme.points Man page
far.from.others.borders Man page
filltemplate Man page
first.bumpup Man page
first.points Man page
first.polygons Man page
first.qp Man page
gapply Man page
gapply.fun Man page
geom_dl Man page
GeomDl Man page
getLegendVariables Man page
get.means Man page
ignore.na Man page
in1box Man page
in1which Man page
inside Man page
iris.l1.cluster Man page
label.endpoints Man page
label.pieces Man page
lasso.labels Man page
last.bumpup Man page
last.points Man page
last.polygons Man page
last.qp Man page
lattice.translators Man page
legends2hide Man page
lines2 Man page
make.tiebreaker Man page
maxvar.points Man page
maxvar.qp Man page
merge_recurse Man page
midrange Man page
normal.l2.cluster Man page
only.unique.vals Man page
outside.ahull Man page
outside.chull Man page
panel.superpose.dl Man page
pkgFun Man page
polygon.method Man page
positioning.functions Man page
positioning.methods Man page
projectionSeconds Man page
project.onto.segments Man page
qp.labels Man page
reduce.cex.lr Man page
rhtmlescape Man page
SegCost Man page
smart.grid Man page
static.labels Man page
svmtrain Man page
top.bumptwice Man page
top.bumpup Man page
top.pieces Man page
top.points Man page
top.qp Man page
uselegend.ggplot Man page
uselegend.trellis Man page
vertical.qp Man page
visualcenter Man page
xlimits Man page
ylimits Man page

Files

tests
tests/ggplot.R tests/methods.R tests/unattached.R
tests/doc
tests/doc/densityplot
tests/doc/densityplot/iris.R tests/doc/densityplot/chemscore.R tests/doc/densityplot/loci.R
tests/doc/contourplot
tests/doc/contourplot/environmental.R tests/doc/contourplot/volcano.R
tests/doc/scatterplot
tests/doc/scatterplot/mpglattice.R tests/doc/scatterplot/iris.R tests/doc/scatterplot/class-manufacturer.R tests/doc/scatterplot/mpg.R tests/doc/scatterplot/path.R tests/doc/scatterplot/cylinders.R
tests/doc/lineplot
tests/doc/lineplot/chemqqmathsex.R tests/doc/lineplot/chemqqmathscore.R tests/doc/lineplot/projectionSeconds.R tests/doc/lineplot/sexdeaths.R tests/doc/lineplot/ridge.R tests/doc/lineplot/bodyweight.R tests/doc/lineplot/lars.R
tests/doc/dotplot
tests/doc/dotplot/vadeaths-lattice.R tests/doc/dotplot/vadeaths.R tests/lasso.R
NAMESPACE
NEWS
data
data/normal.l2.cluster.RData
data/projectionSeconds.RData
data/iris.l1.cluster.RData
data/SegCost.RData
data/svmtrain.RData
R
R/lineplot.R R/lattice.R R/densityplot.R R/contourplot.R R/scatterplot.R R/utility.function.R R/doc.R R/dotplot.R R/compare.R R/ggplot2.R R/positioning.functions.R
MD5
DESCRIPTION
man
man/last.polygons.Rd man/calc.boxes.Rd man/last.qp.Rd man/get.means.Rd man/ahull.grid.Rd man/extreme.points.Rd man/empty.grid.Rd man/draw.polygons.Rd man/maxvar.qp.Rd man/direct.label.Rd man/top.pieces.Rd man/top.bumpup.Rd man/label.endpoints.Rd man/midrange.Rd man/gapply.fun.Rd man/smart.grid.Rd man/bumpup.Rd man/dl.combine.Rd man/getLegendVariables.Rd man/ignore.na.Rd man/direct.label.trellis.Rd man/first.bumpup.Rd man/in1which.Rd man/legends2hide.Rd man/filltemplate.Rd man/apply.method.Rd man/first.points.Rd man/bottom.pieces.Rd man/dldoc.Rd man/last.points.Rd man/outside.chull.Rd man/draw.rects.Rd man/reduce.cex.lr.Rd man/extract.posfun.Rd man/svmtrain.Rd man/ylimits.Rd man/dlcompare.Rd man/direct.label.ggplot.Rd man/ahull.points.Rd man/maxvar.points.Rd man/panel.superpose.dl.Rd man/outside.ahull.Rd man/GeomDl.Rd man/defaultpf.ggplot.Rd man/top.points.Rd man/first.qp.Rd man/defaultpf.trellis.Rd man/chull.grid.Rd man/merge_recurse.Rd man/dl.trans.Rd man/pkgFun.Rd man/big.boxes.Rd man/lines2.Rd man/normal.l2.cluster.Rd man/default.ahull.Rd man/default.picker.Rd man/top.qp.Rd man/uselegend.trellis.Rd man/dl.summarize.Rd man/visualcenter.Rd man/top.bumptwice.Rd man/drawDetails.dlgrob.Rd man/angled.boxes.Rd man/polygon.method.Rd man/project.onto.segments.Rd man/rhtmlescape.Rd man/dl.move.Rd man/xlimits.Rd man/check.for.columns.Rd man/only.unique.vals.Rd man/inside.Rd man/gapply.Rd man/extreme.grid.Rd man/calc.borders.Rd man/extract.plot.Rd man/last.bumpup.Rd man/angled.endpoints.Rd man/enlarge.box.Rd man/make.tiebreaker.Rd man/directlabels-package.Rd man/in1box.Rd man/geom_dl.Rd man/positioning.functions.Rd man/far.from.others.borders.Rd man/label.pieces.Rd man/projectionSeconds.Rd man/uselegend.ggplot.Rd man/edges.to.outside.Rd man/iris.l1.cluster.Rd man/SegCost.Rd man/vertical.qp.Rd man/first.polygons.Rd man/dlgrob.Rd man/lattice.translators.Rd man/chull.points.Rd man/qp.labels.Rd man/dl.jitter.Rd man/lasso.labels.Rd man/static.labels.Rd

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.