Automagically calculate a point size for ggplot2-based scatter plots
Source:R/visualization.R
AutoPointSize.RdIt happens to look good
Examples
df <- data.frame(x = rnorm(n = 10000), y = runif(n = 10000))
AutoPointSize(data = df)
R/visualization.R
AutoPointSize.RdIt happens to look good
df <- data.frame(x = rnorm(n = 10000), y = runif(n = 10000))
AutoPointSize(data = df)