R/pdw.R

Defines functions pdw

Documented in pdw

pdw<-function(x,q=exp(-1),beta=1)
{
if(x<0)
res<-0
else
res<-1-q^((floor(x)+1)^(beta))
return(res)
}

Try the DWreg package in your browser

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

DWreg documentation built on May 1, 2019, 8:41 p.m.