R/gjamPredict.r

Defines functions gjamPredict

Documented in gjamPredict

gjamPredict <- function(output, newdata = NULL, y2plot = NULL, ylim = NULL,
                        FULL = FALSE){
  
  # output   - class gjam object
  # newdata  - list with xdata and y needed for prediction
  # y2plot   - names of y for plotting
  # if y is included has only columns to condition on 
  
  PLOT <- TRUE
  if(is.null(y2plot))PLOT <- FALSE
  
  invisible( .gjamPrediction( output, newdata, y2plot, PLOT, ylim, FULL ) )
  
}

Try the gjam package in your browser

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

gjam documentation built on May 24, 2022, 1:06 a.m.