is.na()
,any(is.na())
,all(is.na())
,count()
, and functions fromnaniar
likegg_miss_var()
andmiss_var_summary
can help determine if we haveNA
valuesmiss_var_which()
can help you drop columns that have any missing values.filter()
automatically removesNA
valuesdrop_na()
can help you removeNA
valuesNA
values can change your calculation results- think about what
NA
values represent - don’t drop them if you shouldn’t replace_na()
will replace `NA values with a particular value