. Help <r-help@r-project.org>
> Subject: [R] ggplot's aes_ doesn't work as expected for x=factor()
>
> I'm learning how to use ggplot in a programming approach where I supply
> variable names on the fly. Using aes_ doesn't work as I expected when x =
> factor(x). Is this a b
I'm learning how to use ggplot in a programming approach where I supply
variable names on the fly. Using aes_ doesn't work as I expected when x =
factor(x). Is this a bug or am I not understanding something?
# toy dataset
df <- data.frame(LogicalVar = c(FALSE, TRUE, FALSE, TRUE, FALSE, TRUE),
2 matches
Mail list logo