Create all combinations of f1 and f2 outside of the ggplot -function library(ggplot2) df <- data.frame(f1=factor(rbinom(100, 1, 0.45), label=c("m","w")), ...
確定! 回上一頁