R/visualization.R
AutoPointSize.Rd
It happens to look good
AutoPointSize(data, raster = NULL)
A data frame being passed to ggplot2
If TRUE, point size is set to 1
The "optimal" point size for visualizing these data
df <- data.frame(x = rnorm(n = 10000), y = runif(n = 10000))
AutoPointSize(data = df)
#> [1] 0.1583