rtailw: TailW Random Sample Generation

Description Usage Arguments Value References Examples

View source: R/weibull-random.R

Description

This function generates random deviates for the tailW distribution.

Usage

1
rtailw(n, threshold, scale, shape)

Arguments

n

Sample size.

threshold

Minimum value of the tail.

scale

Scale parameter.

shape

Shape parameter.

Value

Gives random deviates of the TailW. The length of the result is determined by n.

References

Vilardell, Sergi & Serra, Isabel & Abella, Jaume & del Castillo, Joan & Cazorla, Francisco. (2019). Software Timing Analysis for Complex Hardware with Survivability and Risk Analysis. 227-236. <doi:10.1109/ICCD46524.2019.00036>.

Examples

1
2
x <- rtailw(1000, 1, 2, 3)
hist(x, breaks = "FD")

SergiVilardell/distributionTails documentation built on Jan. 17, 2021, 8:44 a.m.