R/clean_NA_from_data.R

Defines functions clean_NA_from_data

Documented in clean_NA_from_data

#' Remove NA from data
#'
#' Remove rows with NA data and return only complete cases.
#'
#' @param data dataframe. Data frame with na data
#' @return data frame without NAs
#'
#' @export
clean_NA_from_data <- function(data)
{
   return( data[complete.cases(data), ] )
}
isglobal-brge/EASIER documentation built on Sept. 25, 2024, 10:50 p.m.