Description Usage Arguments Value Examples
View source: R/conveniencefunctions2.R
Remove NAs based on specified columns in the data
1 | completeFun(data, desiredCols)
|
data |
data.frame object of observations |
desiredCols |
list of columns from which to drop incomplete cases by |
Data frame with removed observations
1 2 | data <- data.frame(a=1:4,b=c("a","b","c","d"),c=c(NA,"keep",NA,"keep"))
completeFun(data, c("c"))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.