the range of coefficient of correlation is code example
Example: the range of coefficient of correlation is
The correlation coefficient r ranges between -1 and +1. A positive r values indicates that as one variable increases so does the other, and an r of +1 indicates that knowing the value of one variable allows perfect prediction of the other.