Problem in correlation plot

I am brand new to R.
I want to create a correlation plot but facing issues
I have 21 observations and 6 variables. Out of 6, one numeric and 5 categorical variables. I have converted categorical variables as factor using as.factor function.

But still not able to run spearman correlation. can anyone help me with this

Hi, and welcome!

Please see the FAQ: What's a reproducible example (`reprex`) and how do I do one? Using a reprex, complete with representative data will attract quicker and more answers.

Without one, the best I can do is to refer to this cross validated post

Thank you so much. I have made the plot.

1 Like

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.