absnorm: The Absolute Normal Distribution

Description Usage Arguments

Description

distribution function, quantile function and random generation for the absolute value normal distribution with mean equal to [mean] and standard deviation equal to [sd].

Usage

1
2
3
4
5
r_absnorm(n, mean = 0, sd = 1)

p_absnorm(q, mean = 0, sd = 1, lower.tail = TRUE, log.p = FALSE)

q_absnorm(p, mean = 0, sd = 1)

Arguments

n

number of observations. If length(n) > 1, the length is taken to be the number required.

mean

vector of means.

sd

vector of standard deviations.

q

vector of quantiles.

lower.tail

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

log.p

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

p

vector of probabilities.


adviksh/winfer documentation built on Dec. 24, 2019, 7:05 p.m.