r - What is the meaning of dot dot in this ggplot expression? -
this question has answer here:
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
Post a Comment