DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR R
how to filter in R whitout lossing NA values
a <- data.frame(col = c("hello", NA, "str")) a %>% filter((col != "str") %>% replace_na(TRUE))
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#filter
#R
#whitout
#lossing
#NA
#values
ADD COMMENT
Topic
COMMENT
Name
7+7 =
Submit