Description Usage Arguments Value Examples
View source: R/code_package.r View source: R/code_package.R
Top Income plot
1 2  | 
data | 
 dataframe obtained from   | 
p | 
 probability level (default 0.01)  | 
thr | 
 numeric vector of probability levels to model a Pareto distribution (from 0.85 up to 0.999)  | 
TSlim | 
 numeric 2-vector, range of y for the plot (default   | 
tail | 
 logical to plot the tail index (default   | 
one or two graphs (depending on tail==TRUE)
1 2 3 4  | url_1 <- "https://github.com/freakonometrics/TopIncome/raw/master/data_csv/dataframe_yw_1.csv"
df <- read.table(url_1,sep=";",header=TRUE)
data_1  <-  tidy_income(income = df$y, weights = df$w)
## Not run: Top_Income(data_1)
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.