getAxisLabs: Set different variables for the x-axis labels

View source: R/plots-utility-axisLabels.R

getAxisLabsR Documentation

Set different variables for the x-axis labels

Description

Set different variables for the x-axis labels

Usage

getAxisLabs(data, var, labVars)

Arguments

data

Data.frame with data.

var

String with variable displayed in the axis.

labVars

Character vector with variable(s) to be displayed as the labels of the ticks in the axis.

Value

Named character vector. The names are the position in the x-axis, the values are the new labels.

Author(s)

Laure Cougnaud


clinDataReview documentation built on March 7, 2023, 5:13 p.m.