Facing prob with corrplot

Hi Frnds..am learning R ..
I want plot correlation by using corrplot .but is showing error that columns must be numeric..(my dataset consist float datatype columns)

am trying to change column datatypes...but its showing error like this

Error in $<-.data.frame(*tmp*, zn, value = numeric(0)) : replacement has 0 rows, data has 506

plz any one suggest the solution...

HERE ZN is Column Name

Hi!

To help us help you, could you please prepare a reproducible example (reprex) illustrating your issue? Please have a look at this guide, to see how to create one:

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

If you have a query related to it or one of the replies, start a new topic and refer back with a link.