corr_coef_pearson correlation Coeficient using pearson Method

corr_coef_pearson(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_pearson(variable1= mtcars$disp, variable2=mtcars$hp, decimal = 2)
#> [1] 0.79