Description Usage Arguments Value Examples
View source: R/sbpiper_plots.r
Plot a generic scatter plot in log10 scale
1 2 | scatterplot_log10(df, g = ggplot(), colNameX = "x", colNameY = "y",
dot_size = 0.5)
|
df |
a data frame to trasform to log10 scale |
g |
the current ggplot to overlap |
colNameX |
the name of the column for the X axis |
colNameY |
the name of the column for the Y axis |
dot_size |
the size of the dots in the scatterplot |
the plot
1 2 | df <- data.frame(a=exp(rnorm(10000)), b=exp(rnorm(10000)))
scatterplot_log10(df, colNameX="a", colNameY="b")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.