Learn R Programming

⚠️There's a newer version (2021.1.13) of this package.Take me there.

directlabels (version 2017.03.31)

Direct Labels for Multicolor Plots

Description

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.

Copy Link

Version

Install

install.packages('directlabels')

Monthly Downloads

5,582

Version

2017.03.31

License

GPL-3

Maintainer

Toby Hocking

Last Published

April 8th, 2017

Functions in directlabels (2017.03.31)

apply.method

Apply a Positioning Method
big.boxes

big boxes
default.picker

default picker
defaultpf.ggplot

defaultpf ggplot
angled.boxes

angled boxes
angled.endpoints

angled endpoints
calc.borders

calc borders
calc.boxes

calc boxes
enlarge.box

enlarge box
extract.plot

Extract plot and definition for documentation
GeomDl

GeomDl
SegCost

Cost of segmentation models
direct.label.ggplot

direct label ggplot
edges.to.outside

edges to outside
empty.grid

empty grid
first.points

first points
first.polygons

first polygons
in1which

in1which
iris.l1.cluster

Clustering of the iris data with the l1 clusterpath
label.endpoints

label endpoints
maxvar.points

maxvar points
maxvar.qp

maxvar qp
direct.label.trellis

direct label trellis
inside

inside
lattice.translators

lattice translators
legends2hide

legends2hide
outside.ahull

outside ahull
outside.chull

outside chull
rhtmlescape

rhtmlescape
smart.grid

smart grid
ylimits

ylimits
directlabels-package

Direct labels for multicolor plots in lattice or ggplot2
dl.combine

Combine output of several methods
filltemplate

filltemplate
first.bumpup

first bumpup
get.means

get means
getLegendVariables

getLegendVariables
last.bumpup

last bumpup
last.points

last points
bottom.pieces

bottom pieces
bumpup

bumpup
defaultpf.trellis

defaultpf trellis
direct.label

Direct labels for color decoding
ahull.grid

ahull grid
ahull.points

ahull points
chull.points

chull points
default.ahull

default ahull
dl.jitter

dl jitter
check.for.columns

check for columns
chull.grid

chull grid
dlcompare

Direct label comparison plot
dldoc

Make directlabels documentation
polygon.method

polygon method
positioning.functions

Built-in Positioning Methods for direct label placement
project.onto.segments

project onto segments
normal.l2.cluster

Clustering of some normal data in 2d with the l2 clusterpath
only.unique.vals

only unique vals
static.labels

static labels
svmtrain

False positive rates from several 1-SVM models
dl.move

Manually move a direct label
draw.rects

draw rects
drawDetails.dlgrob

drawDetails dlgrob
first.qp

first qp
projectionSeconds

Timings of projection algorithms
top.pieces

top pieces
top.points

top points
extract.posfun

Extract Positioning Method for documentation
extreme.grid

extreme grid
extreme.points

extreme points
far.from.others.borders

far from others borders
label.pieces

label pieces
lasso.labels

lasso labels
gapply

gapply
ignore.na

ignore na
in1box

in1box
last.polygons

last polygons
last.qp

last qp
top.bumptwice

top bumptwice
top.bumpup

top bumpup
uselegend.trellis

uselegend trellis
merge_recurse

merge recurse
midrange

midrange
qp.labels

Make a Positioning Method for non-overlapping lineplot labels
reduce.cex.lr

reduce cex lr
dl.summarize

dl summarize
dl.trans

Direct label data transform
dlgrob

dlgrob
draw.polygons

draw polygons
gapply.fun

Direct label groups independently
geom_dl

geom dl
lines2

lines2
visualcenter

visualcenter
xlimits

xlimits
make.tiebreaker

make tiebreaker
panel.superpose.dl

panel superpose dl
pkgFun

pkgFun
top.qp

top qp
uselegend.ggplot

uselegend ggplot
vertical.qp

vertical qp