18 May 2022 4 5K Report

I am stuck in problem, it may be silly but if someone could guide would be great. I am looking to transform and plot a feature but it gives me the below error

> hist(da1$Inc)

> hist(da1$log.Inc)

Error in hist.default(da1$log.Inc) : 'x' must be numeric

>

I read couple of blogs and help pages which indicates that variable should be converted to numeric but the data is already numeric and am able to plot histogram & calculate summary stats. So unable to figure out what should be done. I want to visualize transformed data and then feed it to the model. Could someone please help. Thanks in advance.

Regards

More Dan Li's questions See All
Similar questions and discussions