Hello, I am using the personality data and I m trying to run the following
Hello, I am using the personality data and I m trying to run the following
query but it gave me an error. Can you help me troubleshoot this issue? How can I convert x in numeric value? what is the query?
install.packages(corrplot)
library(corrplot)
corrplot(cor(dat), order = “hclust”, tl.col = ‘black’, tl.cex = .75)
> corrplot(cor(dat), order = “hclust”, tl.col = ‘black’, tl.cex = .75)
Error in cor(dat) : ‘x’ must be numeric