This function creates scatterplots. To use it, you should pass a vector of numeric color values (it will create a palette to match the length). You can also specify whether to add the simplystats logo or not.
1 | simplyplot(..., col = 1, pch = 19, logo = TRUE, theme = "black")
|
... |
Pass any usual plotting parameters |
col |
A numeric vector specifying the colors of points |
pch |
The default pch is 19, cause it is the best. |
logo |
Logical, if true, then the simplystats logo is added to the plot |
theme |
Options are "black" or "white" |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.