View source: R/prepare_for_plotting.R
vary_part_of_interest | R Documentation |
Produces variable going between percentiles of the part of interest in the data.
vary_part_of_interest( part_of_interest, lower_quantile = 0.05, upper_quantile = 0.95, granularity = 10000 )
part_of_interest |
The variable of interest. |
lower_quantile |
If set, this gives the lower limit of plotting (as a quantile for both variables of interest). In practice, the current behaviour is to calculate the range of both variables between the upper and lower quantile, and use the narrower one. |
upper_quantile |
If set, this gives the upper limit of plotting (as a quantile for both variables of interest). |
granularity |
Does not usually require setting. If set, gives the number of points plotted on the graph. If it is too low, the plot will contain gaps. If it is too high, plotting will be slow. |
Vector of values going from lower_quantile
to upper_quantile
of the distribution of the varaible of interest.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.