There are different methods to perform correlation analysis:

Pearson correlation (r), which measures a linear dependence between two variables (x and y). It’s also known as a parametric correlation test because it depends to the distribution of the data. It can be used only when x and y are from normal distribution. The plot of y = f(x) is named the linear regression curve.

Kendall tau and Spearman rho, which are rank-based correlation coefficients (non-parametric)

Run the Shiny App!!!