radeba: ADEBA estimates

Description Usage Arguments Author(s) Examples

View source: R/ui.r

Description

Density, distribution, and random generation for ADEBA estimates. Works just like rnorm, runif, etc.

Usage

1
2
3
4
5
radeba(n, object)

dadeba(x, object)

padeba(q, object, lower.tail = TRUE)

Arguments

n

Number of examples to sample.

object

Density estimate.

x, q

Vector of quantiles.

lower.tail

Logical; If TRUE (default), probabilities are P[X ≤ x], otherwise, P[X > x].

Author(s)

Christofer B<c3><a4>cklin

Examples

1
2
3
4
5
6
data(faithful)
f <- adeba(faithful$eruptions, adaptive=FALSE)
f.eruptions <- radeba(1e5, f)
hist(f.eruptions, breaks=100, col="skyblue", probability=TRUE)
lines(f, lwd=3)
rug(faithful$eruptions)

adeba documentation built on May 2, 2019, 3:21 a.m.

Related to radeba in adeba...