check_roots | R Documentation |
Validate quantile function by checking the corresponding quantile density function
check_roots(fun, ..., n = 13, interval = c(0, 1), parts = 10)
is_qdf_valid(fun, ..., n = 13L, parts = 10)
fun |
quantile density function (QDF) to check |
... |
other parameters passed to QDF function |
n |
integer polynomial degree to fit to the function. Default is 13 |
interval |
interval to check the roots on |
parts |
integer number of parts to split the function range. Default is 10 |
logical value indicating if the QDF is valid (i.e. returns only non-negative values)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.