Answers for "r remove . as na"

R
6

r remove na from dataset

new_df <- na.omit(df, c("myvar1", "myvar2")) # Remove NA on specific variables
Posted by: Guest on June-19-2020
0

r - remove na

# remove na in r
newdf <- na.omit(df)
Posted by: Guest on May-26-2021

Browse Popular Code Answers by Language