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

Description Usage Arguments Examples

View source: R/misc.R

Description

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

Usage

1
catjitter(x, factor = 0.5)

Arguments

x

numeric vector to which jitter should be added

factor

a factor between 0 and 1 that

Examples

1
2
3
figure(data = lattice::singer) %>%
  ly_points(catjitter(voice.part), jitter(height), color = "black") %>%
  ly_boxplot(voice.part, height, with_outliers = FALSE)

rbokeh documentation built on May 1, 2019, 8:07 p.m.