R/nan_to_na.R

Defines functions nan_to_na

Documented in nan_to_na

#' Title
#'
#' @param x
#'
#' @return
#' @export
#'
#' @examples

nan_to_na <- function(x) {

  x[is.nan(x)] <- NA_real_
  x

}
jaydennord/nordr documentation built on March 2, 2023, 10:48 p.m.