Description Usage Arguments Value Examples
View source: R/corr_scatterly.R
corr_scatterly Correlation Scatter Plot using R Plotly
1 2 3 4 5 6 7 8 |
data |
is a Data Frame |
x |
is a column of Data Frame |
y |
is a column of Data Frame |
corr_coef |
is a Correlation Coeficient |
xname |
is a string and Name of X-axis |
yname |
is a string and Name of Y-axis |
plot
1 2 | spearman<- corr_coef_spearman(variable1= cars$speed, variable2=cars$dist, decimal = 2)
corr_scatterly(data=cars,x=cars$speed,y=cars$dist,corr_coef=spearman,xname="speed",yname="dist")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.