r - What is the meaning of dot dot in this ggplot expression? -


i found expression while working on ggplot.

qplot(carat, ..density.., data = diamonds, facets = color ~ ., geom = "histogram", binwidth = 0.1, xlim = c(0, 3)) 

how ..density.. interpreted r?

clearly not variable , processed inside function convey want use density undertand how works @ language level.

normally, aesthetics 1:1 mapping column in input data.frame. in case, density output of binning histogram. so, ggplot2 way of referring derivatives product of aggregation, such binning histogram in case.


Comments

Popular posts from this blog

swift - Button on Table View Cell connected to local function -

dns - Dokku server hosts two sites with TLD's, both domains are landing on only one app -

c# - ajax - How to receive data both html and json from server? -