R/check_vectors.R

Defines functions check_vectors

# ============================================================================
# Wrapper to prob-zk functions
#
# Details:
# # Check if zh, a, and b are vectors
# ============================================================================
check_vectors <- function(zh, a, b) {
  if (!(is.vector(zh) && is.vector(a) && is.vector(b))) {
    stop("Error: zh, a and b must be vectors.")
  }
}

Try the BMEmapping package in your browser

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

BMEmapping documentation built on July 2, 2025, 9:07 a.m.