I have one csv file in which one column is character-type. Few values of that variable are NA (string). But when I am reading csv file in R using read.csv(), the "NA" strings are stored as NA. How can I fix it?
We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.OkRead more
" "
or""
to new users. Whichever it is, add that to jeremy's answer asna.strings=" "
orna.strings=""
. – Pierre L