QQPlot.opCall

Create a QQPlot. dataRange must be an input range with elements implicitly convertible to doubles. quantileFunction must be a callable (function pointer, delegate, functor, etc.) mapping any number between 0 and 1 to its quantile.

class QQPlot
static
opCall
(
R
C
)
if (
is(typeof(C.init(2.0)) : double) &&
isInputRange!R
&&
is(ElementType!R : double)
)

Examples

1 auto norms = randArray!rNorm(100, 0, 1);
2 auto theoretical = paramFunctor!invNormalCDF(0, 1);
3 auto fig = new Figure(
4    QQPlot(norms, theoretical)
5 );
6 fig.showAsMain();

Meta