Learn R Programming

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

directlabels (version 2.9)

Direct labels for multicolor plots in lattice or ggplot2

Description

The directlabels package provides an extensible framework for automatically placing direct labels onto multicolor lattice or ggplot2 plots. It includes heuristics for examining "trellis" and "ggplot" objects and inferring an appropriate Positioning Method for placing the labels. Furthermore, the design of directlabels makes it simple to create Positioning Methods for specific plots or libraries of portable Positioning Methods that can be re-used.

Copy Link

Version

Install

install.packages('directlabels')

Monthly Downloads

7,212

Version

2.9

License

GPL-3

Maintainer

Toby Dylan Hocking Keith Ponting kpontingaurixcom

Last Published

September 26th, 2012

Functions in directlabels (2.9)

bottom.pieces

bottom pieces
default.picker

default picker
dl.trans

Direct label data transform
bumpup

bumpup
direct.label.trellis

direct label trellis
defaultpf.trellis

defaultpf trellis
calc.boxes

calc boxes
chull.grid

chull grid
edges.to.outside

edges to outside
first.points

first points
dldoc

Make directlabels documentation
ahull.points

ahull points
SegCost

Cost of segmentation models
apply.method

Apply a Positioning Method
ahull.grid

ahull grid
dl.move

Manually move a direct label
label.pieces

label pieces
chull.points

chull points
outside.chull

outside chull
positioning.functions

Built-in Positioning Methods for direct label placement
top.points

top points
first.bumpup

first bumpup
geom_dl

geom dl
rhtmlescape

rhtmlescape
get.means

get means
extreme.grid

extreme grid
gapply

gapply
directlabels-package

Direct labels for multicolor plots in lattice or ggplot2
panel.superpose.dl

panel superpose dl
extract.plot

Extract plot and definition for documentation
lattice.translators

lattice translators
svmtrain

False positive rates from several 1-SVM models
dlgrob

dlgrob
direct.label.ggplot

direct label ggplot
lasso.labels

lasso labels
top.bumptwice

top bumptwice
normal.l2.cluster

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

only unique vals
draw.rects

draw rects
reduce.cex.lr

reduce cex lr
ignore.na

ignore na
calc.borders

calc borders
make.tiebreaker

make tiebreaker
follow.points

follow points
in1which

in1which
enlarge.box

enlarge box
maxvar.qp

maxvar qp
maxvar.points

maxvar points
qp.labels

Make a Positioning Method for non-overlapping lineplot labels
perpendicular.lines

perpendicular lines
visualcenter

visualcenter
vertical.qp

vertical qp
uselegend.trellis

uselegend trellis
filltemplate

filltemplate
lines2

lines2
static.labels

static labels
default.ahull

default ahull
gapply.fun

Direct label groups independently
dl.summarize

dl summarize
dl.jitter

dl jitter
in1box

in1box
big.boxes

big boxes
defaultpf.ggplot

defaultpf ggplot
check.for.columns

check for columns
dl.combine

Combine output of several methods
empty.grid

empty grid
top.pieces

top pieces
angled.endpoints

angled endpoints
midrange

midrange
xlimits

xlimits
outside.ahull

outside ahull
ylimits

ylimits
smart.grid

smart grid
first.qp

first qp
last.bumpup

last bumpup
perpendicular.grid

perpendicular grid
uselegend.ggplot

uselegend ggplot
drawDetails.dlgrob

drawDetails dlgrob
extreme.points

extreme points
direct.label

Direct labels for color decoding
iris.l1.cluster

Clustering of the iris data with the l1 clusterpath
dlcompare

Direct label comparison plot
label.endpoints

label endpoints
project.onto.segments

project onto segments
top.qp

top qp
extract.posfun

Extract Positioning Method for documentation
inside

inside
last.qp

last qp
dens.gradient

dens gradient
last.points

last points
top.bumpup

top bumpup