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 -

how to prompt save As Box in Excel Interlop c# MVC 4 -

xslt 1.0 - How to access or retrieve mets content of an item from another item? -