View source: R/na_omit_select.R
na.omit_select | R Documentation |
If NA is present in a selected column in the data frame, returns a data frame with the rows containing NA in that column removed if the default is the case.
If .retrieve = FALSE
is specified, only rows with NA in the chosen column are returned.
Multiple columns may be specified as the columns to be selected.
na.omit_select(.data, ..., .retrieve = TRUE)
.data |
data frame |
... |
One or more unquoted expressions separated by commas. Variable names can be used as if they were positions in the data frame, so expressions like x:y can be used to select a range of variables. |
.retrieve |
logical If TRUE, a data frame is returned excluding rows containing NA in the selected columns; if FALSE, a data frame is returned with only rows containing NA in the selected columns. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.