R/warnMsg.R

Defines functions warnMsg

# Generate Warning that Method Does not Exist
#
# Function generates and prints warning message when a method is not defined
#   for a regression method.
#
# @name warnMsg
#
# @param x character name of method requested
#
# @param cx character name of the class of the object for which the method
#   was requested
#
# @keywords internal
warnMsg <- function(x, cx) {
  message(x, " method is not available for for an object of class ", cx)
}

Try the modelObj package in your browser

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

modelObj documentation built on June 7, 2022, 9:07 a.m.