powered by
Plot a generic scatter plot
scatterplot(df, g = ggplot(), colNameX = "x", colNameY = "y", dot_size = 0.5)
a data frame
the current ggplot to overlap
the name of the column for the X axis
the name of the column for the Y axis
the size of the dots in the scatterplot
the plot
# NOT RUN { df <- data.frame(a=rnorm(10000), b=rnorm(10000)) scatterplot(df, colNameX="a", colNameY="b") # }
Run the code above in your browser using DataLab