Gistlib Logo

gistlib

find na values in r

# Generate some sample data
data <- c(2, 3, NA, 8, NA, 10)

# Check for NA values
na_indices <- which(is.na(data))
na_indices
126 chars
7 lines

similar r code snippets

find missing values in r
how to create an excel in r
how to assign a variable in r in r
how to use factor in in r
how to assign a value in r in r
how to create a data table in r
how to install a package in in r
how to create a token in r in r
create a loop in r
find the maximum number in a list of numbers in r

related categories

r
missing-values

gistlibby LogSnag