directlabels (version 2020.1.31)

dl.trans: Direct label data transform

Description

Make a function that transforms the data. This is for conveniently making a function that calls transform on the data frame, with the arguments provided. See examples.

Usage

dl.trans(...)

Arguments

Arguments to pass to transform.

Value

A Positioning Function.

Examples

Run this code
# NOT RUN {
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)
# }

Run the code above in your browser using DataLab