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?

-- 
View this message in context: 
http://www.nabble.com/Error%3Anon-numeric-argument-in-my-function-tp23807218p23807873.html
Sent from the R help mailing list archive at Nabble.com.

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to