set_opt {mistr} | R Documentation |
Set Parameters
Description
Function can be used to set the parameters used in mistr
.
Usage
set_opt(...)
Arguments
... |
arguments in tag = value form, or a list of tagged values. |
Details
The function can set the values for:
sub parameter: small value that is used in mixture quantile function to test if the computed value is infimum, default: 1e-10.
add parameter: small value that is added to values that are in the image of CDF in qlim
function, default: 1e-08.
tol parameter: tolerance for uniroot used in mixture quantile function, default: .Machine$double.eps^0.5.
Value
When parameters are set, their previous values are returned in an invisible named list.
Examples
a <- set_opt(sub = 1e-5, tol = 1e-10)
get_opt("sub", "tol")
set_opt(a)
[Package mistr version 0.0.6 Index]