Learn R Programming

metaplot (version 0.7.1)

axislabel.data.frame: Axis Label for Data Frame

Description

Axis label for data.frame. Substitutes label attribute if present for column name, and puts units if present in parentheses, trailing. Puts 'log scale' in parentheses on a new line if log is TRUE.

Usage

# S3 method for data.frame
axislabel(x, var, log = FALSE, ...)

Arguments

x

data.frame

var

item of interest

log

whether this is for a log scale

...

passed arguments

Value

character

See Also

Other axislabel: axislabel

Other methods: boxplot.data.frame, categorical.data.frame, corsplom.data.frame, densplot.data.frame, metaplot.data.frame, pack.data.frame, plot.metaplot_gtable, print.metaplot_gtable, scatter.data.frame, unpack.data.frame