Quantcast
Channel: Active questions tagged r - Stack Overflow
Viewing all articles
Browse latest Browse all 201867

How to set NA = to two different values? [duplicate]

$
0
0

How can I set my NA to two different things?

My data set uses 0 and nd to represent missing data and I got my code to work for one value, but I cannot get it for both.

I tried to separate NA = and a comma, but I cannot get it to work.

Also, this is the way I have to do this, and I am a beginner programmer so please keep it simple

seals <- read_csv("SealData.csv", na =  "nd", "0")

Viewing all articles
Browse latest Browse all 201867

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>