R/classes.R

Defines functions validate_svp

# S3 class constructors and validators for wARMASVp
# Classes are created by their respective user-facing function svp()
# This file contains any shared validation logic.

#' @keywords internal
validate_svp <- function(x) {
  stopifnot(is.list(x))
  stopifnot("phi" %in% names(x))
  stopifnot("sigv" %in% names(x))
  stopifnot("sigy" %in% names(x))
  stopifnot("mu" %in% names(x))
  invisible(x)
}

Try the wARMASVp package in your browser

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

wARMASVp documentation built on May 15, 2026, 5:07 p.m.