Direct label groups independently

Share:

Description

Makes a function you can use to specify the location of each group independently.

Usage

1
gapply.fun(expr)

Arguments

expr

Expression that takes a subset of the d data frame, with data from only a single group, and returns the direct label position.

Value

A Positioning Function.

Author(s)

Toby Dylan Hocking

Examples

1
2
3
4
5
complicated <- list(dl.trans(x=x+10),
                    gapply.fun(d[-2,]),
                    rot=c(30,180))
library(lattice)
direct.label(dotplot(VADeaths,type="o"),complicated,TRUE)

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.