R/aaa_classes.R

#' The `cgeneric` class for [cgeneric()].
setClass(
  "cgeneric",
  slots = c(f = "list"),
  validity = function(object) {
    all(c("model", "n", "cgeneric") %in%
          names(object$f))
  }
)
#' The `rgeneric` class for [rgeneric()].
setClass(
  "rgeneric",
  slots = c(f = "list"),
  validity = function(object) {
    all(c("model", "n", "rgeneric") %in%
          names(object$f))
  }
)

Try the INLAtools package in your browser

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

INLAtools documentation built on June 23, 2025, 5:09 p.m.