geom_avri {foqat} | R Documentation |
Plot the average variation
Description
Easy way to plot the average variation.
Usage
geom_avri(
df,
cave = 2,
csd = 3,
ssd = 1,
alpha = 0.5,
xlab = NULL,
ylab = NULL,
lcc = NULL,
lsize = 1,
rff = NULL
)
Arguments
df |
dataframe contains average variation value and their standard deviation. |
cave |
column index of average variation. The default vaule is 2. |
csd |
column index of standard deviation. The default vaule is 3. |
ssd |
scale value for standard deviation. The default vaule is 1. |
alpha |
the alpha value of ribbon. The default vaule is 0.5. |
xlab |
text expression of x axis label. The default vaule is NULL. |
ylab |
text expression of y axis label. The default vaule is NULL. |
lcc |
color of line. The default vaule is NULL. |
lsize |
size of line. The default vaule is NULL.The default vaule is 1. |
rff |
fill color of ribbon. The default vaule is NULL. |
Examples
## Not run:
x=avri(aqi, bkip = "1 hour", mode = "recipes", value
= "day", st = "2017-05-01 00:00:00")
geom_avri(x,cave=6, csd=11, alpha=0.5, lcc="#0050b3",
rff="#40a9ff", xlab="Time",ylab=bquote(O[3]~" "~(ppbv)))
## End(Not run)
[Package foqat version 2.0.8.2 Index]