Functions returned by functions. Note that you can name your functions whatever you like. (In the vignette I've named them f, F and F.inv). Also note that you don't call these functions, rather call epdfuv(), ecdfuv(), etc and then call the functions that are returned.
epdfuv.f (x)
ecdfuv.f (x)
ecdfuv.f.inverse (y)
epdfmv.f (x)
ecdfmv.f (x)
A vector of x values.
A vector of y values.
epdfuv, ecdfuv, ecdfuv.inverse, epdfmv, ecdfmv, epdfc, ecdfc, ecdfc.inverse
# NOT RUN {
#construct an empirical quantile function and then evaluate it
#(compute the 0.25 quantile)
x = rnorm (30, 4) ^ 2
ecdfuv.f.inverse = ecdfuv.inverse (x)
ecdfuv.f.inverse (0.25)
# }
Run the code above in your browser using DataLab