R/check_vector_quality.R

Defines functions check_vector_quality

Documented in check_vector_quality

#' Check for presence of NAs and non-numerics in a vector
#' 
#' @param x input \code{vector}
#' @return \code{Boolean} of whether the data is good to extract features on or not
#' @author Trent Henderson
#' 

check_vector_quality <- function(x){
  return(!anyNA(x) && is.numeric(x))
}

Try the theft package in your browser

Any scripts or data that you put into this service are public.

theft documentation built on Oct. 4, 2024, 1:08 a.m.