Error in cov.wt(z) : ‘x’ must contain finite values only


This error occurred in my code because the Chinese parts of the X1 through X8 are comments, but I accidentally removed the comment symbol ‘#’.
there is a problem in stackoverflow because the data contains NA characters causing the error.


Read More: