Learn R Programming

distTails (version 0.1.2)

rtailw: TailW Random Sample Generation

Description

This function generates random deviates for the tailW distribution.

Usage

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.

Examples

Run this code
# NOT RUN {
x <- rtailw(1000, 1, 2, 3)
hist(x, breaks = "FD")
# }

Run the code above in your browser using DataLab