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

c# - Binding a comma separated list to a List<int> in asp.net web api -

Delphi 7 and decode UTF-8 base64 -

html - Is there any way to exclude a single element from the style? (Bootstrap) -