R/elementwise_functions.R

Defines functions is.na.lvec

Documented in is.na.lvec

#' Simple elementwise functions
#'
#' These are implementations for \code{\link{lvec}} object for their regular
#' R counterparts.
#' 
#' @param x an object f type \code{\link{lvec}}
#'
#' @return 
#' Returns an \code{\link{lvec}} of the same length as the input.
#' 
#' @export
is.na.lvec <- function(x) {
  elementwise(x, is.na)
}
djvanderlaan/ldat documentation built on Oct. 4, 2022, 7:01 p.m.