colplot
plots columns of data.frame
data.frame.
Character, columns of data.frame.
a label for the x axis, defaults to a description of x.
a label for the x axis, defaults to a description of x.
x limits
y limits
Character, a main title for the plot, see also title
.
Character; "black", "dark", "clean", "ink"
Colors. Default are cptcity colour palette "kst_18_pastels"
"p" for points, "l" for lines, "b" for both points and lines, "c" for empty points joined by lines, "o" for overplotted points and lines, "s" and "S" for stair steps and "h" for histogram-like vertical lines. Finally, "n" does not produce any points or lines.
a vector of line widths, see par
.
plotting ‘character’, i.e., symbol to use.
"Character" to specify font, default is"", options "serif", "sans", "mono" or more according device
plot arguments
a nice plot
This plot shows values > 0 by default. To plot all values, use all_values = TRUE
Other helpers:
dmonth()
,
to_latex()
,
wide_to_long()
if (FALSE) { # \dontrun{
a <- ef_cetesb("CO", c("PC_G", "PC_FE", "PC_FG", "PC_E"), agemax = 20)
colplot(df = a, ylab = "CO [g/km]", theme = "dark", type = "b")
colplot(df = a, ylab = "CO [g/km]", theme = "dark", pch = NULL, type = "b")
colplot(df = a, ylab = "CO [g/km]", theme = "clean", type = "b")
colplot(df = a, ylab = "CO [g/km]", theme = "clean", pch = NULL, type = "b")
#colplot(df = a, cols = "PC_FG", main = "EF", ylab = "CO [g/km]")
#colplot(df = a, ylab = "CO [g/km]", theme = "clean")
} # }