R/DR.R

Defines functions DR

Documented in DR

#' @title DR
#'
#' @description A distribution regression object
#'
#' @param yvals A vector of values that y can take
#' @param drlist A list where for each value of y, a distribution regression
#' 
#' @export
DR <- function(yvals, drlist) {
    out <- list(yvals=yvals, drlist=drlist)
    class(out) <- "DR"
    return(out)
}

Try the qte package in your browser

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

qte documentation built on Sept. 1, 2022, 5:05 p.m.