Monday, 6 February 2017

partial correlation coefficient in R

correlation coefficient to calculate the partial correlation
partial.correlation = cor(residuals.air.acid, residuals.water.acid, method = 'spearman')

3 comments:

  1. Can's run this code. Is there any package required to to run this command.

    ReplyDelete
    Replies
    1. u can use this package
      install.packages("corrplot"")

      Delete
  2. u can use this package
    install.packages("corrplot"")

    ReplyDelete