gge_contour | R Documentation |
Contour plot
gge_contour( df, x, y, points = FALSE, group = NULL, palette = "Blues", hist.fill = "lightsteelblue2", hist.col = "white", xlim = NULL, xlab = NULL, ylab = NULL, contour.breaks = 200, direction = 1 )
df |
a data frame |
x |
string with the name of the variable to plot in the x-axis |
y |
string with the name of the variable to plot in the y-axis |
points |
boolean, if |
group |
a string with the categories to group the points |
palette |
a string with the name of a color brewer continuous palette |
hist.fill |
a string with the colour to fill the histogram bars |
hist.col |
a string with the color of the border of the histogram bars |
xlim |
two dimensional numeric vectors with the limits of the x-axis |
xlab |
a string to be displayed in the x-axis |
ylab |
a string to be displayed in the y-axis |
contour.breaks |
integer, number of breaks to use in the contour plot |
direction |
either 1 or -1 indicating the direction of the color sequence. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.