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# - SharpDX Toolkit models rendering inside out -

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