Created
October 16, 2012 03:12
-
-
Save mhkeller/3897067 to your computer and use it in GitHub Desktop.
Replace NAs with 0s
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
df[is.na(df)] <- 0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment