Closed bgctw closed 6 years ago
I can replicate the error.
Its a problem of apply
function returning a vector instead of a matrix,
because the quantile
function returns a scalar instead of a vector for a single quantile.
The names generated by quantile
are dropped too, sigh.
We will probably need a workaround: extend a single value in the call to the quantile function in order to make sure the return value format is correct.
There is be a small bug that it throws error when arg
probs
is assigned only one numeric value. I hope you can replicate the problem with this command:Error:
Actually it works if I repeat the probability value:
Thank you for your feedback! It was really helpful.