corr_scatterly: corr_scatterly Correlation Scatter Plot using R Plotly

Description Usage Arguments Value Examples

View source: R/corr_scatterly.R

Description

corr_scatterly Correlation Scatter Plot using R Plotly

Usage

1
2
3
4
5
6
7
8
corr_scatterly(
  data = NULL,
  x = NULL,
  y = NULL,
  corr_coef = NULL,
  xname = "",
  yname = ""
)

Arguments

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

Value

plot

Examples

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")

kmaheshkulkarni/corrly documentation built on Dec. 28, 2021, 11:57 a.m.