pointsPutX: Distribute a set of points with fixed y-values on a stretch...

View source: R/fcn_miscGGplot.R

pointsPutXR Documentation

Distribute a set of points with fixed y-values on a stretch of the x-axis.

Description

#' Usage: ggplot(...) + geom_X(...) + pointsPutX(...)

Usage

pointsPutX(x_range, x_section, y, col = NA)

Arguments

x_range

[min,max] valid range of x-values

x_section

[min,max] fraction in which to distribute the values (in [0,1] for min,max, e.g. c(0.03,0.08) for 3-8%)

y

Y-values

col

Colour of the points (used as argument to aes(colour=))

Value

ggplot object with new geom_point


cbielow/PTXQC documentation built on March 13, 2024, 5:08 a.m.