Error in mitch reports in R
0
0
Entering edit mode
3 months ago
Amr ▴ 140

Error in mitch reports in R

while I was producing mitch reports with mitch_report function in R, I got that error :

"Error in MASS:::kde2d(ss[, 1], ss[, 2]) : 
  missing or infinite values in the data are not allowed". 

Is there any solution other than remove NAs, as I have NAs inside the data ? Thanks in advance

mitch R • 162 views
ADD COMMENT
0
Entering edit mode

can't you just set the NA's to 0? ss[is.na(ss)] <- 0

ADD REPLY

Login before adding your answer.

Traffic: 2501 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6