R/ppareto2.R

ppareto2 <-
function(q, scale = 1, shape = 1)
{
    p <- 1 - (1 + q/scale)^(-shape)
    p[q <= 0] <- 0
    p
}

Try the CaDENCE package in your browser

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

CaDENCE documentation built on May 2, 2019, 6:05 a.m.