R/addpi.R

Defines functions addpi

Documented in addpi

addpi <-
function(k, global=0.5, ...){
  x = seq(0, 1, 0.01)
  y = sapply(x, function(pr) piFunction(pr, kparam=k, qparam=global))
  lines(x, y, ...)
}

Try the PropScrRand package in your browser

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

PropScrRand documentation built on June 22, 2024, 6:57 p.m.