getJitterVar: Add jitter to the variable of the plot, based on the...

View source: R/plots-errorbarClinData.R

getJitterVarR Documentation

Add jitter to the variable of the plot, based on the different groups of a grouping variable

Description

Add jitter to the variable of the plot, based on the different groups of a grouping variable

Usage

getJitterVar(data, var, byVar)

Arguments

data

Data.frame with data.

var

String with variable to add a jitter to.

byVar

String with variable containing the groups to jitter by.

Value

Numeric vector of length nrow(data) containing the jittered variable.

Author(s)

Laure Cougnaud


clinDataReview documentation built on June 22, 2024, 10:03 a.m.