Skip to contents

Distribuicao Exponencial

Usage

rnp_distribuicao_exponencial(
  fun = c("d", "p", "q", "r"),
  taxa = 1,
  x = NULL,
  q = NULL,
  p = NULL,
  n = NULL
)

Arguments

fun

String: "d", "p", "q", "r".

taxa

Parametro de taxa (rate), positivo.

x, q, p, n

Argumentos conforme fun.

Value

Vetor numerico.

Examples

rnp_distribuicao_exponencial("p", q = 1, taxa = 0.5)
#> [1] 0.3934693