R/utils.R

Defines functions head.prediction tail.prediction

#' @importFrom utils head
#' @export
head.prediction <- function(x, ...) {
    head(`class<-`(x, "data.frame"), ...)
}

#' @importFrom utils tail
#' @export
tail.prediction <- function(x, ...) {
    tail(`class<-`(x, "data.frame"), ...)
}
leeper/prediction documentation built on Jan. 1, 2020, 6:10 p.m.