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
can't you just set the NA's to 0?
ss[is.na(ss)] <- 0