R/inspect.R

Defines functions inspect

Documented in inspect

#' inspect provides S3/S4-like access to fields of a PcAuxData Reference Class object.
#' @param object An initialized RC object of class PcAuxData.
#' @param what A character string naming the field to access in object.
#' @return The current value stored in the what field of object.
#' @export inspect

inspect <- function(object, what) {
  object$field(what)
}
dsquire/PcAux documentation built on May 2, 2024, 4:48 a.m.