View source: R/valueCoordinates.R
valueCoordinates | R Documentation |
Sometimes knowing NAs or X value are present in your data is not enough, you want to know where exactly.
valueCoordinates(obj, value = NA)
value |
[type: ANY, default: NA] |
dt |
[type: data.table | data.frame] |
This function does:
data == value | is.na(data)
To create a truth table and then retrieves the column and row of where the value occurred as a data.frame.
data.frame
test <- head(iris, 10) test[3, 1] <- NA valueCoordinates(test, value = NA)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.