Skip to content
Prev 383356 / 398502 Next

NA command in a 'for' loop

Hello,

Thanks for the data. But since the replacements still do not work, 
please post the output of

dput(head(d, 10))


in order for us to have an *exact* copy of the data structure.
I had asked for 20 or 30 rows but given your post 10 are enough.
With a way to exactly reproduce what you have, it will be much easier to 
try code and find a solution. I, and I believe most R users, will run

str(d)

as one of the first steps to know what is in that problem column. And go 
from there.


Hope this helps,

Rui Barradas

?s 04:52 de 21/04/20, Helen Sawaya escreveu: