Question: what is the difference between r value and p value?
Answer: p-values and R-squared values measure different things. The p-value indicates if there is a significant relationship described by the model, and the R-squared measures the degree to which the data is explained by the model.