This is the mistake I had on the rmd file:
Error in pairs.default(dat[c("SWB", "ND", "PSS", "CSE", "RSE")], lower.panel = panel.smooth, : object 'panel.cor' not found
I added the "library(Hmisc)" and did not work either. I did not have problems with the other pairs plots of former labs, I was wondering if I am missing something else.
I could not add the regression line to the pairs plot. This is my code:
This is the mistake I had on the rmd file: Error in pairs.default(dat[c("SWB", "ND", "PSS", "CSE", "RSE")], lower.panel = panel.smooth, : object 'panel.cor' not found
I added the "library(Hmisc)" and did not work either. I did not have problems with the other pairs plots of former labs, I was wondering if I am missing something else.
Thanks!