I've looked up "turn NAs into 0s in R" about a gazillion times. What's your simple function that you can't ever remember in #rstats?
3
3
8
Some people have analysed the output from `history()` (also in a file) that way to see which #Rstats functions they hit more / most.
As for your NA question: It depends. But there is an entire CRAN Task View on missing data and its treatment:
cran.r-project.org/web/views…
Jan 13, 2023 · 6:21 PM UTC
1
4

