Description Usage Arguments Value Examples
scatter function will draw scatter plot for correlation analysis.
1 2 3 4 5 6 7 8 9 10 11 12 13 |
data |
input data.frame |
x |
x variable |
y |
y variable |
col.var |
color variable |
size.var |
size variable |
method |
regression method type,default is "loess" |
title |
main title |
subtitle |
subtitle |
xtitle |
x axis title |
ytitle |
y axis title |
caption |
caption |
An object of class ggplot
1 2 3 4 5 6 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.