pointsPutX {PTXQC} | R 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
[Package PTXQC version 1.1.1 Index]