corr_coef_spearman correlation Coeficient using spearman Method

corr_coef_spearman(variable1 = NULL, variable2 = NULL, decimal = NULL)

Arguments

variable1

is a column or Numeric vector

variable2

is a column or Numeric vector

decimal

is a Numeric Argument

Value

correlation coeficient

Examples

corr_coef_spearman(variable1= cars$speed, variable2=cars$dist, decimal = 2)
#> [1] 0.83