R/plot.ptermInteraction.R

Defines functions plot.ptermInteraction

Documented in plot.ptermInteraction

#'
#' Plotting parametric interactions
#' 
#' @description This function is here only to deal with parametric interactions (eg x0:fact), which
#'              cannot be plotted at the moment.
#' @name plot.ptermInteraction
#' @param x a parametric interaction object, extracted using [mgcViz::pterm].
#' @param ... currently unused.
#' @return Currently it returns \code{NULL}.
#' @rdname plot.ptermInteraction
#' @export plot.ptermInteraction
#' @export
#' 
plot.ptermInteraction <- function(x, ...){
  
  message("mgcViz does not know how to plot interactions. Returning NULL.")
  return( invisible(NULL) ) 
  
}

Try the mgcViz package in your browser

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

mgcViz documentation built on Oct. 6, 2023, 5:09 p.m.