getAxisLabs {clinDataReview}R 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


[Package clinDataReview version 1.6.1 Index]