Skip to content
Prev 181998 / 398503 Next

Error:non-numeric argument in my function

Thanks jholtman!
But I'm not sure what and where I should change my code... :(
wekt_n = ndf[i,]
wekt_n_ok = wekt_n[!is.na(wekt_n)]
If before this line I should change "wekt_n_ok"  as numeric? but if I wrote 
as.numeric(wekt_n_ok) it's also not correct  

and  I also don't understand why "wekt_n_ok" is not numeric?