Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

set_opt

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)

mistr

Mixture and Composite Distributions

v0.0.4
GPL-3
Authors
Lukas Sablica [aut, cre] (<https://orcid.org/0000-0001-9166-4563>), Kurt Hornik [aut] (<https://orcid.org/0000-0003-4198-9911>)
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.