stackPoints: Calculates y values for a vector of overlapping x values. Y...

Description Usage

View source: R/stackPoints.R

Description

Calculates y values for a vector of overlapping x values. Y values are designed to prevent overlapping by creating the appearance of stacked data. A helper function for numeric 1d Data. Also used for 2d data where one dimension is numeric, and one is categorical.

Usage

1
2
3
4
5
6
7
stackPoints(
  x,
  levels = rep(1, length(x)),
  vp,
  y.min = 0.3,
  y.max = unit(1, "npc")
)

iNZightVIT/vit documentation built on Aug. 3, 2020, 4:11 a.m.