plot_tails: Plot heavy-tailed deviations

Description Usage Arguments Details Value Examples

View source: R/plot_tails.R

Description

A simple graphical representation of random heavy-tailed deviations created with 'rpareto_tails()', 'rst_tails()', 'rnorm_tails()', or any other multiplicative random deviates.

Usage

1

Arguments

vec

Vector of random deviates.

Details

If 'vec' is the output of 'rnorm_tails()' where sporadic values have been included, these values are marked in red.

Value

A scatter plot showing the deviation values in the vector. Sample mean is shown by green line, and the marginal distribution is shown by the rug plot on the right side of the plot.

Examples

1
2
rpt <- rpareto_tails(50, 3)
plot_tails(rpt)

sebpardo/rtails documentation built on Dec. 22, 2021, 11:17 p.m.