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)

Example output

There were 25 warnings (use warnings() to see them)

rbokeh documentation built on Aug. 4, 2021, 1:06 a.m.