DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR R
r - remove NA from a coulm
df <- data.frame(x = c(1, 2, 3), y = c(0, 10, NA), z=c(NA, 33, 22)) subset(df, !is.na(y))
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#remove
#NA
#coulm
ADD COMMENT
Topic
COMMENT
Name
4+5 =
Submit