Build a p/d/q/r function with parameters fixed
Arguments
- ...
parameter name-value pairs to be fixed in the returned function. Parameters not accepted by the target distribution function are ignored, so entire rows of a forecast data frame may be passed in.
- dist
distribution root name, such as
"norm"or"beta", or"distfromq"to interpolate a distribution through predictive quantiles.- type
one of
"p","d","q"or"r".- trans
function of an outcome
xand parameters, pre-composed with thepanddfunctions. Use this for distributions whose support must be rescaled, such as a beta distribution on[x_min, x_max].- trans_inv
inverse of
trans, post-composed with theqandrfunctions.- transpars
parameters for
transandtrans_invthat are not columns ofdf.