Distribution function for the g-and-k distribution
pgk_scalar(q, A, B, g, k, c = 0.8, zscale = FALSE)
The cumulative probability.
Quantiles.
A (location) parameter.
B (scale) parameter. Must be positive.
g parameter.
k parameter. Must be at least -0.5.
c parameter. Often fixed at 0.8 which is the default.
When true returns the N(0,1) quantile of the cdf (needed by dgk).
This internal function performs the calculation assuming scalar inputs. The exported function is a vectorised wrapper of this.