| percplot | R Documentation |
Plots percentiles computed by percdata using ggplot2.
percplot(data, cols = NULL, group = NULL, diff = 0.1,
part = "both", ncol = NULL, num_xaxis = "auto",
verbose = FALSE)
data |
A data frame. |
cols |
Column indices or names of numeric variables. |
group |
Grouping column. |
diff |
Difference between quantile probabilities. |
part |
Which part to plot: |
ncol |
Number of columns in facet layout. |
num_xaxis |
How to treat numeric column names on the x-axis.
|
verbose |
Logical; if |
A ggplot object.
Chun-Sheng Liang <chun-shengliang@qq.com>
1. Example data is from https://smear.avaa.csc.fi/download. It includes particle number concentrations in SMEAR I Varrio forest. 2. Wickham, H. 2016. ggplot2: elegant graphics for data analysis. Springer-Verlag New York.
percplot(data, cols = 5:65, group = 4)
percplot(data, cols = 5:65, group = 4, num_xaxis = "numeric")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.