SyntaxFix
Write A Post
Hire A Developer
Questions
Here are two quickie approaches I know of:
In base
AQ1 <- airquality AQ1[is.na(AQ1 <- airquality)] <- 0 AQ1
Not in base
library(qdap) NAer(airquality)
PS P.S. Does my command above create a new dataframe called AQ1?
P.S. Does my command above create a new dataframe called AQ1?
Look at AQ1 and see