R/removeMissingValues.R

Defines functions removeMissingValues

Documented in removeMissingValues

#' Removes all scalar NAs from a parameter setting list.
#'
#' @param x [list]\cr
#'   List of parameter values.
#' @return [list].
#' @export
removeMissingValues = function(x) {
  return(Filter(Negate(isScalarNA), x))
}

Try the ParamHelpers package in your browser

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

ParamHelpers documentation built on July 4, 2022, 5:07 p.m.