R/lines.CCR.quant.R

Defines functions lines.CCR.quant

Documented in lines.CCR.quant

#' Add line of CCR quantile
#' @export
#'

lines.CCR.quant <- function(CCR.quant.object, ...)
{
    q <- CCR.quant.object$q
    qinv <- CCR.quant.object$qinv
    est <- CCR.quant.object$estimate
    qest <- q/est

    lines(x = c(qinv, qinv), y = c(q, qest), ...)
    lines(x = c(0, qinv), y = c(q, q), ...)
    lines(x = c(0, qinv), y = c(qest, qest), ...)

}
prestevez/crimeineq documentation built on May 29, 2019, 7:39 a.m.