On 18/11/19 2:28 AM, Hadley Wickham wrote:
See this new vignette in dev ggplot2:
https://ggplot2.tidyverse.org/dev/articles/ggplot2-in-packages.html
Hadley
Yes! Thank you. Bottom line: for what I want to do the syntax is
facet_grid(row=vars(.data[[rowName]]),col=vars(.data[[colName]]))
See this new vignette in dev ggplot2:
https://ggplot2.tidyverse.org/dev/articles/ggplot2-in-packages.html
Hadley
On Saturday, November 16, 2019, Rolf Turner wrote:
>
> I need to call ggplot() from another function with the names of the
> faceting variables supplied as arguments to the calling f
I need to call ggplot() from another function with the names of the
faceting variables supplied as arguments to the calling function. These
names (which are names of columns in the relevant data frame)
are given as character arguments, say "rowName" and "colName".
Suppose that rowName is equ
3 matches
Mail list logo