rbokeh (version 0.5.1)

catjitter: Add a small amount of (rbokeh-compatible) noise to a character vector

Description

Add a small amount of (rbokeh-compatible) noise to a character vector

Usage

catjitter(x, factor = 0.5)

Arguments

x

numeric vector to which jitter should be added

factor

a factor between 0 and 1 that

Examples

Run this code
# NOT RUN {
figure(data = lattice::singer) %>%
  ly_points(catjitter(voice.part), jitter(height), color = "black") %>%
  ly_boxplot(voice.part, height, with_outliers = FALSE)
# }

Run the code above in your browser using DataCamp Workspace