clean_input_shares | R Documentation |
shares_fit
Check the validity and consistency of the input arguments
of shares_fit
.
clean_input_shares( p, average, bracketshare = NULL, topshare = NULL, bracketavg = NULL, topavg = NULL, first_threshold = NULL, bottom_model = NULL, lower_bound = 0, top_model = NULL )
p |
A vector of values in [0, 1]. |
average |
The average over the entire distribution. |
bracketshare |
The corresponding bracket share. |
topshare |
The corresponding top share. |
bracketavg |
The corresponding bracket average. |
topavg |
The corresponding top average. |
first_threshold |
The value of the first threshold. If |
bottom_model |
Which model to use at the bottom of the distribution?
Only relevant if |
lower_bound |
Lower bound of the distribution. Only relevant if
|
top_model |
Which model to use at the top of the distribution?
Either |
Thomas Blanchet, Juliette Fournier, Thomas Piketty
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.