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

mistr_d_p_q_r

Mistr d/p/q/r Wrappers


Description

The functions mistr_d, mistr_p, mistr_q, mistr_r are wrappers for d, p, q and r, respectively.

Usage

mistr_d(O, x, log = FALSE)

mistr_p(O, q, lower.tail = TRUE, log.p = FALSE)

mistr_q(O, p, lower.tail = TRUE, log.p = FALSE, ...)

mistr_r(O, n)

Arguments

O

distribution object.

x, q

vector of quantiles.

log, log.p

logical; if TRUE, probabilities p are given as log(p), default: FALSE.

lower.tail

logical; if TRUE, probabilities are P[X ≤ x] otherwise, P[X > x], default: TRUE.

p

vector of probabilities.

...

further arguments to be passed.

n

number of observations.

Details

Wrappers are offered as a consequence of R-Studio in Windows OS where the q() calls in the console are caught and terminate the R session.

Value

Vector of computed results.


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.