Displaying 4 results from an estimated 4 matches for "aes_".
Did you mean:
aes
2017 Aug 13
1
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 bug or am I not understanding something?
# toy dataset
df <- data.frame(LogicalVar = c(FALSE, TRUE, FALSE, TRUE, FALSE, TRUE),
Var1 = c(0.01, 0.01, 1, 1, 30, 30),
pct1 = c(12, 88, 60, 40, 93, 7),...
2019 Feb 16
4
Duda error sintaxis
Buenas tardes chicos, estoy intentando hacer un gráfico que resuma para
cada dia de la semana la información de algunos distritos específicos de
los que contiene mi variable, ejecuto esta sintaxis pero me da un error
Error: Mapping should be created with `aes() or `aes_()`.
Alguien me puede orientar sobre que estoy haciendo mal, llevo mucho rato
atascada.
Muchas gracias
df_nuevofinal %>% filter( District == "University" | District == "Boyer" |
District == "Parc" | District == "Berri1") %>%
group_by(week_day) %>...
2017 May 09
3
A few suggestions and perspectives from a PhD student
Hi,
On 08/05/17 16:37, Ista Zahn wrote:
> One of the key strengths of R is that packages are not akin to "fan
> created mods". They are a central and necessary part of the R system.
>
I would tend to disagree here. R packages are in their majority not
maintained by the core R developers. Concepts, features and lifetime
depend mainly on the maintainers of the package (even
2017 May 09
0
A few suggestions and perspectives from a PhD student
...ey and colleagues did (and do) a great job implementing these ideas in
R, but the ideas do have a respectable age.
Third, there's a lot of nonstandard evaluation going on in all these
packages. Using them inside your own functions requires serious attention
(eg the difference between aes() and aes_() in ggplot2). Actually, even
though I definitely see the merits of these packages in data analysis, the
tidyverse feels like a (clean and powerful) macro language on top of R. And
that's good, but that doesn't mean these parts are essential to transform R
into a programming language. Rathe...