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


[Package clinDataReview version 1.6.1 Index]