Description Usage Arguments Value References Examples
Top Income plot
1 2 |
data |
numeric, a vector of observations |
p |
numeric, probability level (default 0.01) |
thr |
numeric, vector of probability levels to model a Pareto distribution (default is |
tail_index |
logical to plot the tail index (default |
weight |
numeric, a vector of weights (default is equal weights) |
one or two graphs (depending on tail==TRUE
)
Charpentier & Flachaire (2019) Pareto Models for Top Incomes hal-02145024
1 2 3 4 | ################ Top Incomes on Synthetic Data
url_1 <- "https://github.com/freakonometrics/TopIncomes/raw/master/dataframe_yw_1.csv"
df <- read.table(url_1,sep=";",header=TRUE)
## Not run: Top_Incomes(data = df$y, weights = df$w)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.