R/nullmod.R

Defines functions predict.nullmod

Documented in predict.nullmod

# nullmod.R
# ::rtemis::
# Efstathios D Gennatas egenn.github.io

#' \pkg{rtemis} internal: predict for an object of class \code{nullmod}
#' 
#' @param object Object of class \code{nullmod}
#' @param newdata Unused
#' @param ... Unused
#' @method predict nullmod
#' @export

predict.nullmod <- function(object, newdata = NULL, ...) {
  
  object$fitted
  
} # rtemis::predict.nullmod
egenn/rtemis documentation built on March 25, 2020, 3:28 p.m.