'bin2d' stat requires x,y (weight is optional)
The "Five Number Summary" requires x,y (weight is optional)
Geom options
to pass as a value of geom
parameter of layer
functions
like:
lets_plot() + stat_density(..., geom = Pos.point(), ... )
Add a line with specified slope and intercept to the plot.
Display the development of quantitative values over an interval. This is the continuous analog of
geom_bar.
Display a bar chart which makes the height of the bar proportional to the number of observed variable values,
mapped to x axis.
Divide the plane into a grid and color the bins by the count of cases in them.
Display the distribution of data based on a five number summary ("minimum", first quartile (Q1), median,
third quartile (Q3), and "maximum"),
and "outlying" points individually.
Display contours of a 3d surface in 2d.
Fill contours of a 3d surface in 2d.
Display bars with horizontal median line.
Display a density estimate, which is a smoothed version of the histogram.
Display density function contour.
Fill density function contour.
Error bars defined by an upper and lower value ymin and ymax.
Display a line chart which makes the y value proportional to the number of observed variable values, mapped
to x axis.
Display a 1d distribution by dividing variable mapped to x axis into bins and counting the number of
observations in each bin.
Add a straight horizontal line to the plot.
Jittered points, especially for discrete plots or dense plots.
Connect points in the order of the variable on the x axis.
Display a line range defined by an upper and lower value.
Connect observations in the order in which they appear in the data.
Draw points defined by an x and y coordinate.
Add a vertical line defined by upper and lower value with midpoint at y location.
Display a filled closed path defined by the vertex coordinates of individual polygons.
Display rectangles defined by the center of the tile (x, y).
This is a high performance special function for same-sized tiles.
Much faster than geom_tile but doesn't support width/height and color.
Display a rectangle defined by the four corners (xmin, xmax, ymin and ymax).
Display a y interval defined by ymin and ymax.
Draw a straight line segment between points (x, y) and (xend, yend).
Add a smoothed conditional mean.
Connect observations in the order in which they appear in the data by stairs.
Add a text directly to the plot.
Display a rectangle defined by the center of the tile and its size (x, y, width, height).
Add a straight vertical line to the plot.
(extensions in package jetbrains.letsPlot.intern)
Params:
method - smoothing method: lm, glm, gam, loess, rlm
n (80) - number of points to evaluate smoother at
se (TRUE ) - display confidence interval around smooth?
level (0.95) - level of confidence interval to use
deg ( >= 1 ) - degree of polynomial for regression
seed - random seed for LOESS sampling
maxN (1000) - maximum points in DF for LOESS
Use theme() to modify individual components of a theme,
allowing you to control the appearance of all non-data components of the plot.